This commit is contained in:
Florian Schroedl
2022-05-30 21:14:41 +02:00
parent e4f4b76afe
commit 2fcbffbd2d

View File

@@ -1,18 +1,24 @@
import jsconsole, jsffi, strutils, sequtils, sugar
import sugar
from std/dom import window, Location, document, decodeURI
import std/[
jsconsole,
jsffi,
options,
sequtils,
strformat,
strutils,
sugar,
]
import fp/[
maybe,
option,
]
import
../bindings/react/react_globals,
../bindings/react/react_dom,
../bindings/react/react_types,
../bindings/react/react_styles,
../bindings/react/react_hooks
import sequtils
import options
import strformat
import fp/[
maybe,
option,
]
../bindings/react/react_hooks,
../lib/fetch
import ../../org/org_block_heading
import ../../org/org_builder
import ../../org/org_types
@@ -31,7 +37,6 @@ proc renderItems(
)
proc toMarkUp(x: OrgInlineBlock): ReactNode =
console.log(x)
case x.kind:
of orgRawText: `<>`(x.content)
of orgText: `<>`(x.content)