Inserting line breaks in quadwriter/markup
#79
Open
opened 4 years ago by jopetty
·
2 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
How can one insert a hard line break within a paragraph whilst in the
#lang quadwriter/markup
language?In the docs, it says that the
'(line-break)
q-expression does this in the#lang quadwriter
language, but I'm not sure how to access this here. The documentation indicates that one may insert arbitrary q-expressions with the◊q{...}
tag, but I don't know how to go from there since'(line-break)
isn't an attribute.◊q{'(line-break)}
merely treats'(line-break)
as text, while◊q['(line-break)]
or◊q[(line-break)]
trigger unbound identifier errors inquote
andline-break
, respectively.I also thought it might be something like
◊(line-break)
or◊((line-break))
, but these result in the same error.Use
◊(br)
:Separately, I agree that
quadwriter/markup
is a misleading name, since “markup” also refers to a lower-level concept. So I’ve renamed itquadwriter/html
, which is closer to the idea.Ahh, I see, thank you!