I have just started a blog which will contain programming code. I saw a site called "hilite.me" which allows me to paste in my code and it generates lovely looking html. However, when I paste this into a blog article, it looks nothing like the preview. Specifically, the "span" tag needs to start on a new line, and the inline colour style generated needs to override the template. Turning all "span" tags into block level items sounds tricky - I could maybe put in some <br> tags as a workaround, but the colours should be do-able? Am I right in guessing that templates typically use the !important option often to prevent these sort of oveerrides? If not, what could be overriding my inline style colours? Im using the Nocturne template with the Easyblog component and the JCE editor btw...
Thanks
David
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!