-
Notifications
You must be signed in to change notification settings - Fork 182
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
Bug: Spaces added to preformatted code style docstring elements #1732
Comments
That's the formatting we expect, to separate the heavier syntax Note that this code block will appear heavy in Odoc's output. |
I don't know what would look better in odoc's output, I'm neutral regarding using |
Maybe it is just me, but my interpretation of "preformatted" in the spec makes me think that adding spaces is quite surprising. |
Odoc doesn't follow ocamldoc in a lot of cases. Odoc is not sensitive to whitespaces around |
I think this can be closed since the parsing and formatting of code spans changed ocaml/odoc#1085 |
Describe the bug
Formatting code such as:
adds spaces within the preformatted code element, producing
How to Reproduce
Change the
Cut
docstring inFmt.mli
as above andmake test
.The text was updated successfully, but these errors were encountered: