Skip to content

Commit e8f4619

Browse files
committed
fix: plant-uml server prop format
1 parent eb79e95 commit e8f4619

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/slidev/node/syntax/codeblock/plant-uml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ export default defineCodeblockTransformer(async ({ info, code, options: { data:
1010
const [, options] = match
1111
const optionsProp = options ? `v-bind="${options}"` : ''
1212
const encoded = encodePlantUml(code.trim())
13-
const serverProp = plantUmlServer === undefined ? '' : ` :server=${JSON.stringify(plantUmlServer)}`
13+
const serverProp = plantUmlServer === undefined ? '' : ` server=${JSON.stringify(plantUmlServer)}`
1414
return `<PlantUml ${optionsProp} code="${encoded}"${serverProp} />`
1515
})

0 commit comments

Comments
 (0)