Open sgmlguru opened 5 years ago
In my fork, programlisting
gets a background color. The XSLT works out whether the listing is column-wide or wider. Using an AH Formatter extension, any programlisting
with lines wider than page-width gets its font size reduced until the listing no longer overflows the page-width. The next step would be to automatically break lines that are too far over page-width (using a different extension), but I haven't got that far yet.
Some code examples upset the formatted page: