package markdown
Markdown processor for Ocsigen
Install
Dune Dependency
Authors
Maintainers
Sources
markdown-v0.2.1.tbz
sha256=9c575b74ad14229ab089819a348a1a8f453023bfcf1c20ebc5fc47343623de5e
sha512=98e42acfb09026670adad6cf4efb531f06854a9b2035cbac2c4a824037a0b08d4fe4fe3b661759983bb202882d3acd73bac0c6631ed34ac35f588f0a4817341e
doc/markdown.html/MarkdownHTML/index.html
Module MarkdownHTML
Source
Source
val elm_to_html :
render_pre:
(kind:string ->
string ->
[< Html_types.li_content_fun Blockquote H1 H2 H3 H4 H5 H6 Ol P Pre Ul ] as 'a
Tyxml.Html.elt) ->
render_link:(Markdown.href -> Html_types.phrasing Tyxml.Html.elt) ->
render_img:(Markdown.img_ref -> Html_types.phrasing Tyxml.Html.elt) ->
Markdown.paragraph ->
'a Tyxml.Html.elt
Source
val par_text_to_html :
render_link:(Markdown.href -> Html_types.phrasing Tyxml.Html.elt) ->
render_img:(Markdown.img_ref -> Html_types.phrasing Tyxml.Html.elt) ->
Markdown.par_text ->
Html_types.phrasing Tyxml.Html.elt Tyxml.Html.list_wrap
Source
val text_to_html :
render_link:(Markdown.href -> Html_types.phrasing Tyxml.Html.elt) ->
render_img:(Markdown.img_ref -> Html_types.phrasing Tyxml.Html.elt) ->
Markdown.text ->
Html_types.phrasing Tyxml.Html.elt
Source
val to_html :
render_pre:
(kind:string ->
string ->
[< Html_types.li_content_fun Blockquote H1 H2 H3 H4 H5 H6 Ol P Pre Ul ] as 'a
Tyxml.Html.elt) ->
render_link:(Markdown.href -> Html_types.phrasing Tyxml.Html.elt) ->
render_img:(Markdown.img_ref -> Html_types.phrasing Tyxml.Html.elt) ->
Markdown.paragraph list ->
'a Tyxml.Html.elt list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>