Skip to content

code-block table should be wrapped in a <div> tag #632

@Anteru

Description

@Anteru

(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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-majorseverity: majorT-featuretype: a new featureX-importedimported from Bitbucket

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions