funkyworklehead | 2 Aug 2012 19:34
Picon
Favicon
Gravatar

Should <pre> blocks in code have uniform monospace?

The <pre> blocks in my code comments are normally ascii diagrams that refer to functions and classes.  As such, they are converted to links.  This is awesome.

Unfortunately, the font-weight of these links is "bold", which screws up the alignment of the ascii-diagram.  Could I suggest that font-weight be uniformly "normal" if you're inside a <pre> block?  

<style type="text/css">
    pre > .el { 
        font-weight:normal !important;
    }
</style>

I have a local workaround with using a customdoxygen.css per http://www.stack.nl/~dimitri/doxygen/customize.html.  Perhaps I'm weird for doing ascii-diagrams, but if I'm not, then others might like this fix.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Doxygen-develop mailing list
Doxygen-develop <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-develop

Gmane