docs(v2): add examples to plugin usage doc (#2351)

Add an example value for the remarkPlugins config option for plugin-content-blog and plugin-content docs
Initially I tried to use a string value with this config and got an esoteric error. Having an example of it's usage would help.
This commit is contained in:
Noah Silvera 2020-03-02 19:19:01 -08:00 committed by GitHub
parent c1716096de
commit d4bbf000d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -172,7 +172,7 @@ module.exports = {
/** /**
* Remark and Rehype plugins passed to MDX * Remark and Rehype plugins passed to MDX
*/ */
remarkPlugins: [], remarkPlugins: [/* require('remark-math') */],
rehypePlugins: [], rehypePlugins: [],
/** /**
* Truncate marker, can be a regex or string. * Truncate marker, can be a regex or string.
@ -246,7 +246,7 @@ module.exports = {
/** /**
* Remark and Rehype plugins passed to MDX * Remark and Rehype plugins passed to MDX
*/ */
remarkPlugins: [], remarkPlugins: [/* require('remark-math') */],
rehypePlugins: [], rehypePlugins: [],
/** /**
* Whether to display the author who last updated the doc. * Whether to display the author who last updated the doc.