Closed seglo closed 9 years ago
@seglo thanks for the bug report. If you update to the latest version I've modified the style to add scrollbars automatically. If you would prefer wrapping, you can do something like this:
my-style.less
pre {
white-space: pre-wrap;
{
Then run like so:
aglio -i input.apib -o output.html --theme-style default --theme-style ./my-style.less
Hope this helps!
Thanks a lot @danielgtaylor . Works like a charm. Impressive response time! :+1:
For future reference, it's of course:
pre {
white-space: pre-wrap;
}
{ -> }
When a line is longer than the width of the code div it does not overflow/wrap on to the next line. The only way to see the actual text is to copy & paste it out of the HTML document.
Is there any way to make this text wrap via configuration or some other means?