Tony Brix
Tony Brix
PRs are always welcome 😁👍
PRs are always appreciated :smile::+1:
`marked.use` is for using extensions. `marked(md, options)` is the same as setting options with `marked.setOptions`. If you would like to create a PR to make the documentation better it would...
@madhavanand-github You will have to create a PR that updates the files in the `/docs` folder.
This is just a documentation change so no JavaScript experience is needed. I don't know what exactly needs to change.
I would think most users would expect commonmark compliance therefore gfm and pedantic should be options but the default would be commonmark
No, but you can create an extension that can support it though.
You could create the SVG on the server with [@mermaid-js/mermaid-cli](https://www.npmjs.com/package/@mermaid-js/mermaid-cli).
For one it adds more opportunities suggested for extensibility in https://github.com/markedjs/marked/discussions/1232#discussioncomment-168005 (namely `preprocess` and `postprocess`) it also allows more flexibility for these hooks. The current highlight and sanitizer are overwritten...