Skip to content

Latest commit

 

History

History

markdown

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

*markdown="content"

Version Phase Default
41 — CONTENT this.textContent

Set element's innerHTML after performing markdown rendering.

<div *markdown="'*...*'">
  <!--<em>...</em>-->
</div>

Notes

Important

This directive dynamically imports @libs/markdown.

Modifiers

[string]

Load additional Markdown plugins by specifying a comma-separated list (e.g., *markdown[emojis,highlighting,sanitize]). See the full list of supported plugins at @libs/markdown/plugins. Unsupported plugins will be silently ignored.