Re: Another markup-escaping question
Posted by
mojavelinux on
URL: https://discuss.asciidoctor.org/Another-markup-escaping-question-tp5665p5667.html
The only line of content that needs to be escaped inside a delimited block is a line that matches the start delimiter exactly. When that situation occurs, you can simply vary the length of the enclosing delimiter lines to prevent the match.
Having said that, I don't see any reason why your example wouldn't work. A line that consists of two hyphens inside of a listing block does not have any special meaning.
Are you observing unexpected output? If so, using which tool and version?
-Dan