-
Notifications
You must be signed in to change notification settings - Fork 96
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
Bad parsing or ][ in block code #1137
Comments
Thanks for the report! Maybe a fix would be to have this syntax available only with a delimiter? That is, In the meantime, for your usecase, you can use a delimiter to avoid
(delimiters for odoc code blocks are similar to the OCaml |
Ah, thanks ! |
CHANGES: ### Fixed - Fix missing katex headers (@panglesd, ocaml/odoc#1096) - Allow `][` in code blocks, fixing issue ocaml/odoc#1137 (@Julow, ocaml/odoc#1149) This was interpreted as "code blocks with result", which now mandates a delimiter: `{delim@lang[ code ]delim[ result ]}` - Fix misprinting of type variables from ml files for OCaml 4.14 and later (multiple occurences of the same type variable could be named differently) (@Octachron, ocaml/odoc#1173)
The following code is silently parsed incorrectly by odoc:
The problem is with the
][
sequence, but a space between]
and[
is parsed correctly. Using]\[
does not solve the problem, as the\[
is kept in generated html.The text was updated successfully, but these errors were encountered: