And if I want three consecutive #'s how do I do it?
Ted Toal > On Sep 25, 2015, at 3:10 PM, Lex Trotman <[email protected]> wrote: > >> On 26 September 2015 at 06:03, Ted Toal <[email protected]> wrote: >> Multiple pound or hash symbols in a row don't work right when each one is >> escaped by a backslash character. The last one comes out in the formatted >> text as having a backslash preceding it. >> >> For example, if the asciidoc contains \#\#\# >> then the output shows ##\# > > The backslash only has escaping properties if it is in front of a > construct that actually has markup meaning. The first two hashes is > an "unquoted text" markup (with no content) followed by a hash without > a closing hash and so its not markup. If you escape the first hash it > is put in the output and the second two are now the unquoted text > markup. If you escape the first two the last is again not markup > since there is no matching end hash. So if you now escape the last > one, its not markup anyway and so the backslash isn't an escape, its a > backslash. > > Cheers > Lex > >> >> ted >> >> -- >> 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. > > -- > You received this message because you are subscribed to a topic in the Google > Groups "asciidoc" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/asciidoc/_7q0bIp0BNo/unsubscribe. > To unsubscribe from this group and all its topics, 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. -- 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.
