-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Demarcating source lines in html output #13
Comments
TODO
|
Just thinking about that list of tasks; wrapping each line of code in its own |
It might be fairly important, because people may be using templates that hard-code CSS for highlighting, and the default CSS has always used |
|
The issue raised in jgm/pandoc#3838 :
corresponds to this library.
(from that linked issue:)
Any solution must preserve behaviour of copy-paste: line numbers must not be copied.
Wrapping each line in a
div.sourceLine
is trivial; the question concerns the remaining behaviour. Options are:div.sourceLine::before
) in custom css inserted into each file.For the former case, a fairly minimal css required looks like:
and produces
The text was updated successfully, but these errors were encountered: