forked from mystiq/hydrogen-web
not used anymore
This commit is contained in:
parent
b5b19abb24
commit
2ce6cea4ff
1 changed files with 0 additions and 1 deletions
|
@ -87,7 +87,6 @@ const formatFunction = {
|
||||||
header: headerBlock => tag["h" + Math.min(6,headerBlock.level)]({}, renderParts(headerBlock.inlines)),
|
header: headerBlock => tag["h" + Math.min(6,headerBlock.level)]({}, renderParts(headerBlock.inlines)),
|
||||||
codeblock: codeBlock => tag.pre({}, tag.code({}, text(codeBlock.text))),
|
codeblock: codeBlock => tag.pre({}, tag.code({}, text(codeBlock.text))),
|
||||||
table: tableBlock => renderTable(tableBlock),
|
table: tableBlock => renderTable(tableBlock),
|
||||||
emph: emphPart => tag.em({}, renderParts(emphPart.inlines)),
|
|
||||||
code: codePart => tag.code({}, text(codePart.text)),
|
code: codePart => tag.code({}, text(codePart.text)),
|
||||||
text: textPart => text(textPart.text),
|
text: textPart => text(textPart.text),
|
||||||
link: linkPart => tag.a({href: linkPart.url, className: "link", target: "_blank", rel: "noopener" }, renderParts(linkPart.inlines)),
|
link: linkPart => tag.a({href: linkPart.url, className: "link", target: "_blank", rel: "noopener" }, renderParts(linkPart.inlines)),
|
||||||
|
|
Loading…
Reference in a new issue