Closed colindean closed 4 years ago
My crates are bitten by the same issue: https://crates.io/crates/zbus , https://crates.io/crates/zbus_macros (same README file), etc. It really destroyed my plans for making a great first impression on our first release. :cry:
While reading https://crates.io/crates/digitalocean, I notice that the code blocks are not highlighted. In the HTML, I see the code element has class
language-unidentified
, indicating that the highlighter is working but couldn't figure out the language.I look at the source Markdown at https://github.com/Hoverbear/digitalocean/blob/master/README.md and see that the examples are specified as
rust,no_run
, which @hoverbear explained to me is valid to prevent the running of the code in the example when a site allows running of examples.I would expect the example to still be highlighted appropriately.