From fba59b523f37c87f50e84884ae3d59bbec8ca146 Mon Sep 17 00:00:00 2001 From: mikana0918 Date: Thu, 15 Apr 2021 23:33:51 +0900 Subject: [PATCH] docs: add an example for setting plugin option --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5051ef3..881c741 100755 --- a/README.md +++ b/README.md @@ -21,7 +21,17 @@ Using [markdownit-loader](https://github.com/nuxt-community/markdownit-loader) a breaks: true, use: [ 'markdown-it-div', - 'markdown-it-attrs' + 'markdown-it-attrs', + // if you need to set plugin option(s) + [ + 'markdown-it-link-attributes', + { + attrs: { + target: '_blank', + rel: 'noopener noreferrer', + }, + }, + ], ] } }