Skip to content
This repository was archived by the owner on Aug 18, 2023. It is now read-only.

Commit db3c08e

Browse files
authored
Use html syntax highlighting
1 parent 4a09973 commit db3c08e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ When using custom Vue components as mark serializers, all properties of the bloc
102102
If your mark serializer is purely presentational (no reactive data, no lifecycle methods), you may want to use a [functional component](https://vuejs.org/v2/guide/render-function.html#Functional-Components) instead for better performance. When using functional components, you can access the properties on the `props` object. The mark text or content will available on the `children` array.
103103

104104
For example, simple external links are a good candidate for a functional component:
105-
```vue
105+
```html
106106
<template functional>
107107
<a :href="props.href"
108108
target="_blank"
@@ -116,7 +116,7 @@ For example, simple external links are a good candidate for a functional compone
116116

117117
#### MainComponent.vue
118118

119-
```vue
119+
```html
120120
<template>
121121
<block-content
122122
:blocks="blocks"

0 commit comments

Comments
 (0)