On 10 December 2012 16:56, Alex Efros <[email protected]> wrote: > Hi! > > Here is my text: > > ---cut--- > binary-operator: one of :: > ** * / % + - << >> < > \<= >= == != & ^ | :: && || > ---cut--- > > All I need is output second line in monospaced font. But it contain :: > which processed by asciidoc as list item marker and this breaks markup.
Well, first of all the content line starts with a list start, ** so that makes it a level two bulletted list, then it finds the :: as well. You can get the content output exactly as you type it by using a passthrough block continuation, ie blah:: + ++++ the stuff you want exactly ++++ but there isn't any built-in support for styling list contents explicitly. To get that you need to create a new list style in a custom conf file. Cheers Lex > > I've tried to use +++, $$, pass:[] - nothing helps. > > Inserting \ in the middle of :: stop asciidoc from converting second line > to list item, but this \ goes to output. :( > > Only working solution I've found for now - insert in the middle of :: > empty $$ inline block: > > ---cut--- > binary-operator: one of :: > `** * / % + - << >> < > \<= >= == != & ^ | :$$$$: && ||` > ---cut--- > > This renders correctly, but looks too ugly in the source. > > If there better way to handle this? BTW, maybe it's a bug in asciidoc - > why the hell it's detect list marker inside monospaced `...` text? PS, why the hell shouldn't it? 1. it wasn't monospaced as I noted above, it was a bulleted list item 2. even if it was monospaced, what has that got to do with detecting other markup, monospaced is a style, not a literal or passthrough. > > -- > WBR, Alex. > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/asciidoc?hl=en. > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
