You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To get wikidoc to produce the correct Wiki Creole markup for a multiline verbatim block, it is necessary to do something like this:
{v
foo
v}
(* this comment is for clarifying alignment *)
Note the blank line after {v and single space before v}, both of which are required. Skipping the blank line results in {{{foo (no line break after {{{). Not inserting a space before v} results in foo}}}, whereas inserting more than one space results in spaces on the line before }}}. All of these cause Ocsimore not to parse the block as verbatim text.
I'm not sure if this is really a problem of wikidoc or ocamldoc. Ocsimore's lexer appears to be fine.
To get
wikidoc
to produce the correct Wiki Creole markup for a multiline verbatim block, it is necessary to do something like this:{v foo v} (* this comment is for clarifying alignment *)
Note the blank line after
{v
and single space beforev}
, both of which are required. Skipping the blank line results in{{{foo
(no line break after{{{
). Not inserting a space beforev}
results infoo}}}
, whereas inserting more than one space results in spaces on the line before}}}
. All of these cause Ocsimore not to parse the block as verbatim text.I'm not sure if this is really a problem of
wikidoc
orocamldoc
. Ocsimore's lexer appears to be fine.See:
The text was updated successfully, but these errors were encountered: