GitHub - LeaVerou/md-block: A custom element for rendering stylable (light DOM) Markdown
samedi 30 avril 2022 à 14:13Un web component pour faire du markdown facilement par Lea Verou. Hop, de côté.
- Zero dependencies (except marked, obvs, which is only loaded if a <md-block> or <md-span> element is actually used on the page)
- Styleable with regular selectors, just like the rest of the page
- Load external Markdown files or render inline content
- Customize start heading level
- Also comes with
, for lightweight inline markdown - Prism is automatically used for syntax highlighting, if included (but can be included dynamically too)
► Commentaires