Skip to Content
Utils & ThemesRemarkUseful Plugins

Useful Plugins

Here are a selection of remark plugins that might be useful. For a full list please visit the remark plugins page 

remark-mdx

https://mdxjs.com/packages/remark-mdx 

  • If you are using MDX, this plugin is required to correctly parse to MDX.
npm install remark-mdx --save-dev
typedoc.json
{ "remarkPlugins": ["remark-mdx"] }

remark-github

https://github.com/remarkjs/remark-github 

  • Links references to commits, issues, and users in the same way that GitHub does in comments.
npm install remark-github --save-dev
typedoc.json
{ "remarkPlugins": ["remark-github", { "repository": "myorg/myrepo" }] }

remark-toc

https://github.com/remarkjs/remark-toc 

  • Adds inline table of contents to pages.

Note: Also requires remark-insert-headings to add insert placeholder heading.

npm install remark-insert-headings remark-toc --save-dev
typedoc.json
{ "remarkPlugins": [ ["remark-insert-headings", { "text": "Contents" }], ["remark-toc", { "maxDepth": 2 }] ] }
Last updated on