(Original issue 925 created by None on 2013-11-11T02:14:41.552192+00:00)
In the document of HtmlFormatter, there is an example output snippt when linenos option is set to "table". In this example, the <table> tag is wrapped in a <div> tag with "highlight" class.
But current implementation doesn't output the wrapper <div>. It generates a bare <table> tag with class "<cssclass>table".
Without the wrapping <div>, it's hard to styling the table. Say, you cannot easily limit the height of table and make a scroll bar when the number of lines is too large.
I hope that the wrapper <div> could be, at least, generated by some configuration.
(Original issue 925 created by None on 2013-11-11T02:14:41.552192+00:00)
In the document of HtmlFormatter, there is an example output snippt when
linenosoption is set to"table". In this example, the<table>tag is wrapped in a<div>tag with"highlight"class.But current implementation doesn't output the wrapper
<div>. It generates a bare<table>tag with class"<cssclass>table".Without the wrapping
<div>, it's hard to styling the table. Say, you cannot easily limit the height of table and make a scroll bar when the number of lines is too large.I hope that the wrapper
<div>could be, at least, generated by some configuration.