Wrap in h1
This commit is contained in:
@@ -50,7 +50,7 @@ proc makeItems(x: string): seq[ReactNode] =
|
||||
makeOrg(x)
|
||||
.fold(
|
||||
(err) => @[`div`(Attrs{}, &"Errors: {err}")],
|
||||
(xs: OrgBuilder) => xs.tree.map((x: OrgBlock) => `p`(Attrs{}, x.headlineContent.map(x => toMarkUp(x)))),
|
||||
(xs: OrgBuilder) => xs.tree.map((x: OrgBlock) => h1(Attrs{}, x.headlineContent.map(x => toMarkUp(x)))),
|
||||
)
|
||||
|
||||
proc makeTopLevel(): ReactNode {.exportc.} =
|
||||
|
||||
Reference in New Issue
Block a user