Use CSS for code highlighting
The code highlighting turns off insertion of CSS and directly injects styles. Investigate using CSS instead.
This includes inserting a CSS class for the "good" and "bad" code directives https://github.com/lowRISC/stwg-base/pull/19#pullrequestreview-172144019
[Just noting for my own reference, as that part of the issue wasn't obvious to me from the description].
Good/bad is done, is this closeable, or do we want our other CSS requests to be here? We'll have a whole doc-pretty-up pass eventually.
The code highlighter seems to be working ok. At the moment I have not seen any reason to need CSS to override its formatting. Limiting the amount of CSS we need to maintain seems like an advantage.
Revisit this when we understand if the site builder needs to modify the highlighted code with its site CSS.
Hoping for a refresher on this bug. I agree we want to avoid heavy CSS. But we also had a long ago aspirational goal of getting a professional in to help spiff up our documentation style. @domrizz0 what is the thinking on that at this point?
We bring in an external firm and do a light re-design at some point. I think ~July is the right timeframe.
On Apr 11, 2019, at 19:01, Scott Johnson [email protected] wrote:
Hoping for a refresher on this bug. I agree we want to avoid heavy CSS. But we also had a long ago aspirational goal of getting a professional in to help spiff up our documentation style. @domrizz0 what is the thinking on that at this point?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
@domrizz0 @mdhayter can this issue be closed? Thanks.
Let's close this - with hugo we're using chroma, which is generating inline styles, but it's easy to use a custom style. Plus we're not using the custom good and bad styles.
We could set it to generate CSS, but don't have a particular motivation to do so right now.