On 2015-08-28, Grant Edwards <[email protected]> wrote:
> How do you prevent asciidoc from wrapping source listings like this
>
> --------
> long_line_of_code + here - that_I_definitely_do_not_want - to() * be() *
> wrapped()
> --------
>
> I would have sworn that this didn't used to happen, but now I'm having
> problems with asciidoc HTML output where long lines in source blocks
> are getting wrapped.
Trying out asciidoctor so I can use [%nowrap] is on my list of things
to do.
For now I've just hacked the asciidoc.css file to disable the piece of
CSS that enables wrapping on pre-formatted text. Now things like
assembly language listings aren't getting turned into hash. :)
I probably should create my own theme. Ideally, I could just load an
_additional_ .css file after the asciidoc.css file to change the
things I want to change, but I don't see an option to do that...
--
Grant Edwards grant.b.edwards Yow! I can't decide which
at WRONG TURN to make first!!
gmail.com I wonder if BOB GUCCIONE
has these problems!
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.