Commit b764748
authored
docs: fix rendering for | in code blocks in table (#626)
The `|` was not rendering correctly inside code blocks within tables when processed by `mdbook`.
rust-lang/mdBook#637
Idealy, this should be addressed by the upstream. The root cause of this problem in `pulldown-cmark` has recently been fixed. pulldown-cmark/pulldown-cmark#356
However, `mdbook` seems to expose the `pulldown-cmark` types as a public API, and is currently facing difficulties updating its dependencies.
rust-lang/mdBook#2386
Therefore, the upstream fix may not available in any time soon.
As a workaround for the time being, use <code> tag instead of code blocks in tables with `|`.1 parent 8309be7 commit b764748
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
| 140 | + | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
0 commit comments