Pages
mint-micromark
Basic information
README
Source on GitHub
Entities
Main
  
count
  
frontmatter
  
gfm
  
gfmtable
  
h1
  
h2
  
h3
  
h4
  
h5
  
h6
  
math1
  
mdx
  
p
  
render
Micromark.Component
  
allowDangerousHtml
  
allowDangerousProtocol
  
content
  
defaultLineEnding
  
enableCss
  
extensions
  
micromark
  
componentDidMount
  
render
Micromark.GithubCSS
  
loaded
  
load
  
render
Micromark.KatexCSS
  
loaded
  
load
  
render
Micromark.Extension
Micromark
  
extensionImports
  
extensionPath
  
load
  
loadExtension
Versions
mint-micromark
Dependencies

Micromark

Functions

extensionImports
(
extension
Micromark.Extension
)
Tuple(String, String)

Maps extension names to their respective named exports for syntax and html

extensionPath
(
extension
Micromark.Extension
)
String

Maps extension to their asset paths

load
(
extensions
Array(Micromark.Extension)
allowDangerousHtml
Bool
allowDangerousProtocol
Bool
defaultLineEnding
String
)
Promise(Function(String, String))

Loads Micromark with the specified extensions.

loadExtension
(
extension
Micromark.Extension
)
Tuple(syntax, html)

Load an individual extension