Skip to content

Commit

Permalink
Add HTML remove comments remark plugin (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jelle Femmo Millenaar committed Aug 24, 2021
1 parent 3aec7b1 commit ca2fd83
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/docusaurus.config.js
Expand Up @@ -111,7 +111,7 @@ module.exports = {

{
docs: {
remarkPlugins: [require('remark-import-partial')],
remarkPlugins: [require('remark-import-partial'), require('remark-remove-comments')],
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
Expand Down
3 changes: 3 additions & 0 deletions documentation/package.json
Expand Up @@ -37,5 +37,8 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"remark-remove-comments": "^0.2.0"
}
}
13 changes: 13 additions & 0 deletions documentation/yarn.lock
Expand Up @@ -4500,6 +4500,11 @@ hsla-regex@^1.0.0:
resolved "https://registry.yarnpkg.com/hsla-regex/-/hsla-regex-1.0.0.tgz#c1ce7a3168c8c6614033a4b5f7877f3b225f9c38"
integrity sha1-wc56MWjIxmFAM6S194d/OyJfnDg=

html-comment-regex@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/html-comment-regex/-/html-comment-regex-1.1.2.tgz#97d4688aeb5c81886a364faa0cad1dda14d433a7"
integrity sha512-P+M65QY2JQ5Y0G9KKdlDpo0zK+/OHptU5AaBwUfAIDJZk1MYf32Frm84EcOytfJE0t5JvkAnKlmjsXDnWzCJmQ==

html-entities@^1.3.1:
version "1.4.0"
resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.4.0.tgz#cfbd1b01d2afaf9adca1b10ae7dffab98c71d2dc"
Expand Down Expand Up @@ -7165,6 +7170,14 @@ remark-parse@8.0.3:
vfile-location "^3.0.0"
xtend "^4.0.1"

remark-remove-comments@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/remark-remove-comments/-/remark-remove-comments-0.2.0.tgz#3aeda48b860123417b081c303707b852cc764a35"
integrity sha512-faGaTeqp0bvDgE0uTofa90EBHD4HXeHN+EUaPDR9datgFvaPkYcLxakaJud9LnomFPkOhx0A9NMYFk/lln/etQ==
dependencies:
html-comment-regex "^1.1.2"
unist-util-visit "^2.0.3"

remark-squeeze-paragraphs@4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/remark-squeeze-paragraphs/-/remark-squeeze-paragraphs-4.0.0.tgz#76eb0e085295131c84748c8e43810159c5653ead"
Expand Down

0 comments on commit ca2fd83

Please sign in to comment.