Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verbatim block handling is tricky #5

Open
aantron opened this issue Oct 4, 2016 · 0 comments
Open

Verbatim block handling is tricky #5

aantron opened this issue Oct 4, 2016 · 0 comments

Comments

@aantron
Copy link
Contributor

aantron commented Oct 4, 2016

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.

See:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant