You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most code blocks that contain output from the terminal seem to be written with
```bash -or- ```sh
This results in strange syntax highlighting (here, for example; for in written text is blue). Usually the text in those blocks is just output of rustc or cargo. Syntax-highlighting that doesn't really make sense. bash and sh highlighter are for scripts.
Yup... this is a hack because i want a gray background for code blocks (even those without syntax highlighting) but it's going to require a modification to mdbook which I haven't been prioritizing very high since this only affects the online version, not the print version. I do want to fix this though!
Since none of these are actually bash scripts :)
Changed all the instances in the src files to text, which, since my PR
to mdbook got accepted, will still do code background colors but no
syntax highlighting.
Fixes#295 and #327.
Thank you Lukas-- this issue was just the nudge I needed to get all the pieces together. This should be fixed on the rendered version as soon as travis rebuilds it :)
Uh oh!
There was an error while loading. Please reload this page.
Most code blocks that contain output from the terminal seem to be written with
This results in strange syntax highlighting (here, for example;
for
in written text is blue). Usually the text in those blocks is just output of rustc or cargo. Syntax-highlighting that doesn't really make sense.bash
andsh
highlighter are for scripts.I don't know what chapters this applies to, but there seem to be a few.
The text was updated successfully, but these errors were encountered: