```plain text
There will be no Markdown processing in here,
but the fences should consist of more backticks (or tildes)
than their longest run in the pasted text.
```
Thanks for the suggestion. It’s certainly a simpler way to avoid having to escape everything. I did try this at the time but the downside is that everything’s preformatted, so it’s still not quite the same end result. I don’t want to preserve indenting/formatting of the source text.
It would be handy if markdown had some kind of “not markdown” tag that you could wrap stuff in that it would just pass through without wrapping in any tags or converting anything.
The HTML encoding idea sounds interesting, although I don’t want a <div> around it. The source text needs to be added inline, in the context of markdown before and after.
I think in that case we need to formalize what it would mean to “Markdown Encode” text (and likely “Markdown Decode” for symmetry).
Based on your earlier posts, I considered suggesting we leverage <![CDATA[]]> blocks, but given your example of using a template that shouldn’t have additional formatting I think discussing what it would mean to encode text to markdown is appropriate.
The presentation, i.e. font and line breaking behavior, depend on your output format. It is simple to change in HTML+CSS for instance, assuming the parser passes the info string value somehow to the class attribute.