This package provides a way to generate legal pages for your website in Markdown format or HTML format.
Some HTML components used in the markdown are following DSFR classes.
npm install @incubateur-ademe/legal-pages-markdown
All pages are available either with Beta.gouv mention (*_withBeta.md
) or without.
When used, html or markdown should be considered as templates and should be rendered with variables described in
types.d.ts
.
The variables are following the Mustache syntax.