Reputation: 1061
I am trying to use GitHub:Gist as a code highlighter for displaying my example codes in my html blog in my website.
But what the rendered version in my website puts extra unwanted newlines after each character in my code. [see a screenshot below]
Here you can see my source code and source gist, if you need to: https://saeedmirshekari.com/blog/test/
Upvotes: 0
Views: 88
Reputation: 1061
I found the cause for this failure.
In my css
I needed to remove the following from style.css and everything work as expectred.
abbr, time, span {
font-family: sans-serif;
/* display: block; */
}
Upvotes: 0