Utils & Themes
Useful Plugins

Useful Plugins

Here are some remark plugins that might be useful.

unified-prettier

https://github.com/remcohaszing/unified-prettier

Improving code formatting by parsing with Prettier:

  • Produces a consistent format.
  • Removes unnecessary escape characters.
  • Formats code blocks inside comment fenced blocks.
npm install unified-prettier --save-dev
typedoc.json
{
  "remarkPlugins": ["unified-prettier"]
}

remark-toc

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

  • Adds inline table of contents to pages.
npm install remark-toc --save-dev
typedoc.json
{
  "remarkPlugins": ["remark-toc"]
}

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"]
}