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.

How does one insert a block of pre-formatted text (e.g. source code or
programing input/output) that so that it is not wrapped or
reformatted?  (Ideally in a fixed-width font.)

There are many contexts (e.g. shell scripts) where a newline is
significant, and I need a way to prevent asciidoc from mucking up code
snippets in documents. Listing and literal blocks don't really work
for this, since they will arbitrarily wrap lines.

-- 
Grant Edwards               grant.b.edwards        Yow! I am covered with
                                  at               pure vegetable oil and I am
                              gmail.com            writing a best seller!

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

Reply via email to