Trim long exported code blocks

When using highlight js one can trim by using html but when exporting code blocks and using htmlize.el this doesn't seem possible.
This commit is contained in:
J.P. Silva 2019-01-31 04:07:21 -05:00 committed by GitHub
parent 1cdd088ec5
commit 4c6681389a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1060,7 +1060,7 @@ window.klipse_settings = { " langselector ": \".klipse\" };
(format "\n<pre%s%s><code class=\"%s\" %s>%s</code></pre>"
(or (frag-class frag info) "")
label lang code-attribs code)
(format "\n<pre %s%s>%s</pre>"
(format "\n<pre %s%s><code trim>%s</code></pre>"
(or (frag-class frag info)
(format " class=\"src src-%s\"" lang))
label code)