A proof-of-concept of using Remark for the JSON Schema specification.
Running npm run build
creates spec.html
;
Built using Remark, a markdown engine with good support for plugins and lots of existing plugins we can use.
Repo: https://github.com/remarkjs/remark-lint
Enforce markdown styles guide
Repo: https://github.com/remarkjs/remark-gfm
Adds support for GFM specific markdown features such as autolink literals, footnotes, strikethrough, tables, and tasklists.
Repo:
Add hierarchical section numbers to headings.
Repo: https://github.com/remarkjs/remark-toc
Add a table of contents.
Repo: https://github.com/torchlight-api/remark-torchlight
Syntax highlighting and more using https://torchlight.dev. Additional features include line numbers and line highlighting.
Repo: Add id
anchors to headers.
Repo: https://github.com/rehypejs/rehype-autolink-headings
Makes headings clickable.
Repo: https://github.com/ipikuka/remark-flexible-containers
Add a callout box using the following syntax. Supported container types are
warning
, note
, experimental
.
::: {type} {title}
{content}
:::