Cleanup
This commit is contained in:
27
src/js/dist/sandbox.nim
vendored
27
src/js/dist/sandbox.nim
vendored
@@ -1,18 +1,24 @@
|
|||||||
import jsconsole, jsffi, strutils, sequtils, sugar
|
from std/dom import window, Location, document, decodeURI
|
||||||
import sugar
|
import std/[
|
||||||
|
jsconsole,
|
||||||
|
jsffi,
|
||||||
|
options,
|
||||||
|
sequtils,
|
||||||
|
strformat,
|
||||||
|
strutils,
|
||||||
|
sugar,
|
||||||
|
]
|
||||||
|
import fp/[
|
||||||
|
maybe,
|
||||||
|
option,
|
||||||
|
]
|
||||||
import
|
import
|
||||||
../bindings/react/react_globals,
|
../bindings/react/react_globals,
|
||||||
../bindings/react/react_dom,
|
../bindings/react/react_dom,
|
||||||
../bindings/react/react_types,
|
../bindings/react/react_types,
|
||||||
../bindings/react/react_styles,
|
../bindings/react/react_styles,
|
||||||
../bindings/react/react_hooks
|
../bindings/react/react_hooks,
|
||||||
import sequtils
|
../lib/fetch
|
||||||
import options
|
|
||||||
import strformat
|
|
||||||
import fp/[
|
|
||||||
maybe,
|
|
||||||
option,
|
|
||||||
]
|
|
||||||
import ../../org/org_block_heading
|
import ../../org/org_block_heading
|
||||||
import ../../org/org_builder
|
import ../../org/org_builder
|
||||||
import ../../org/org_types
|
import ../../org/org_types
|
||||||
@@ -31,7 +37,6 @@ proc renderItems(
|
|||||||
)
|
)
|
||||||
|
|
||||||
proc toMarkUp(x: OrgInlineBlock): ReactNode =
|
proc toMarkUp(x: OrgInlineBlock): ReactNode =
|
||||||
console.log(x)
|
|
||||||
case x.kind:
|
case x.kind:
|
||||||
of orgRawText: `<>`(x.content)
|
of orgRawText: `<>`(x.content)
|
||||||
of orgText: `<>`(x.content)
|
of orgText: `<>`(x.content)
|
||||||
|
|||||||
Reference in New Issue
Block a user