diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2021-08-12 23:58:46 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-12 23:58:46 -0600 |
| commit | 802d96e188545ef6f2579505ffb60849215be450 (patch) | |
| tree | b8b841558e6aee20f6edb0755398de1f0cc34916 /src | |
| parent | aefdd6f3ec75a5662dddb5ad3458a0c7dd06cc3c (diff) | |
resolves #3641 add support for inline linenums mode when using Rouge as source highlighter (PR #4129)
Diffstat (limited to 'src')
| -rw-r--r-- | src/stylesheets/asciidoctor.css | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/stylesheets/asciidoctor.css b/src/stylesheets/asciidoctor.css index 9d86f8f8..6bf43cb4 100644 --- a/src/stylesheets/asciidoctor.css +++ b/src/stylesheets/asciidoctor.css @@ -1400,13 +1400,15 @@ table.linenotable td.code { } table.linenotable td.linenos, -pre.pygments .linenos { +pre.pygments .linenos, +pre.rouge .linenos { border-right: 1px solid; opacity: 0.35; padding-right: 0.5em; } -pre.pygments span.linenos { +pre.pygments span.linenos, +pre.rouge span.linenos { display: inline-block; margin-right: 0.75em; } |
