Skip to content

Commit 3800900

Browse files
authored
Merge pull request #9 from machinaeXphilip/master
2 parents 4a23571 + 0636c76 commit 3800900

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ export default defineComponent({
3030
</script>
3131
```
3232

33+
### Options
34+
35+
[markdown-it options](https://github.com/markdown-it/markdown-it#init-with-presets-and-options) can be passed as an object into the VueMarkdown component:
36+
37+
```vue
38+
<vue-markdown :source="src" :options="options">
39+
```
40+
3341
## TypeScript
3442

3543
If you are using typescript, you have to add the [@types/markdown-it](https://www.npmjs.com/package/@types/markdown-it) to your **dev dependencies**.

0 commit comments

Comments
 (0)