-
Notifications
You must be signed in to change notification settings - Fork 454
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
Bikeshed is stripping backslashes from some latex newline commands #1823
Comments
@tabatkins maybe you can give some insight on what might be happening? I'm happy to send you a full reproducer or chat offline. |
Yes, this is intended, and is part of Bikeshed's Markdown support. Whenever it sees Bikeshed recognizes the concept of "opaque elements" within which it skips its Markdown and Markdown-adjacent processing, like autolinks (this happens in pre/xmp/style/script elements, and anything with a For now, the easy fix is to escape the offending |
It's odd actually, because there are a lot of instances of |
Also, applying the escape sequence above works perfectly for the Anyway thanks for the help, I can get by with a narrowly targeted replacement for now. |
Fix a sequence that Bikeshed is treating as a macro and rewriting. This is a workaround for #1823
Sorry, yeah, to be more specific, it only triggers when the stuff following the Anyway, I'll fix this with speced/bikeshed#2931 soon so you can avoid having to worry about this. |
Some latex tables in the core spec use the extra space argument to add extra vertical space between table rows, e.g. the
\\[1ex]
on line 660 of this example fromhttps://github.com/WebAssembly/spec/blob/main/document/core/exec/runtime.rst?plain=1#L655-L664
After sphinx, the content of bikeshed_singlehtml/index_fixed.html is
When Bikeshed processes the file, it strips out one of the backslashes:
Later this break's katex's rendering of the latex.
I'm not yet sure what's happening here, e.g. whether this is somehow an intended behavior of Bikeshed, or a bug, or what.
The text was updated successfully, but these errors were encountered: