Closed Sebanisu closed 3 years ago
hmm I forgot that markdown has a bg color in the tables. So the bg color of the PRE block doesn't match half the rows. So i'll need to see about blocking the bg color on the tag. So don't merge yet.
I'm not sure how to force github to not set the bg of something. It just kinda looks bad in when it's in a table. So I'll close this for now.
@Sebanisu Yea i actually tried to get this working as well. I came across another SO post on inline code Github syntax highlighting but it apparently only works on Github pages. Really surprised GH doesn't have support for this ... seeing there whole website is about code.
Referenced: https://stackoverflow.com/a/29981184/2588183 Rows in tables have to have everything on the same line in markdown. So you can use the html PRE tag to set the language of the code block example. Since the markdown way of doing syntax highlighting requires 3+ lines.