From 66bf1bdf229ecd2eb0048b57f4f5a43ce6f18ade Mon Sep 17 00:00:00 2001 From: Florian Briand Date: Fri, 13 May 2022 11:36:16 +0200 Subject: [PATCH 1/2] doc: add options overriding example on $md.render documentation --- README.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/README.md b/README.md index 5051ef3..a2dc625 100755 --- a/README.md +++ b/README.md @@ -98,3 +98,44 @@ export default { ``` + +#### Overriding temporarily markdown-ir options + +To use specific options "on the fly", you can proceed by altering temporary, the `$md.options` flags. + +> Note : usage of $md.render require the usage of `markdownit: { runtime: true }` in `nuxt.config.js` + +`hello.vue`: +```html + + + +``` From 7c06a19075273432d5adc6d55df93bbe5d136c14 Mon Sep 17 00:00:00 2001 From: Florian Briand Date: Fri, 13 May 2022 11:38:06 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a2dc625..33c2ba0 100755 --- a/README.md +++ b/README.md @@ -99,11 +99,9 @@ export default { ``` -#### Overriding temporarily markdown-ir options +#### Overriding temporarily markdown-it options -To use specific options "on the fly", you can proceed by altering temporary, the `$md.options` flags. - -> Note : usage of $md.render require the usage of `markdownit: { runtime: true }` in `nuxt.config.js` +To use specific options "on the fly", you can proceed by altering temporarily, the `$md.options` flags. `hello.vue`: ```html