litphoria

message

You're not signed-in. If you're new, why don't you take a moment to read the site's intro?
View litphoria Introduction

Feedback ยท Markdown Escape Character (new)

We can't use triangle brackets. We can't use curly brackets. Square brackets are hit and miss.

It makes it difficult to demonstrate markdown in chats and it makes it difficult to use triangle brackets in normal RP (they're often used to denote that a sentence is in another language, and that's impossible here).

The site also converts quotation marks from their generic form to the weird slanted ones (") without any way to prevent it from doing so. An escape character could help with this, though I'd prefer if it just didn't do it at all.

meta info

endorsement points: 0

created: 18 May 17 at 09:38 PM (build: 8/21/2016 1:52 AM beta)

Genevieve Lilliana

There are, in John Gruber's original markdown spec,, effectively two escape mechanisms - backticks (`), which render the span they contain in unstyled monospace, and backslashes (\), which escapes the very next character from markdown parsing.

[The backslash syntax](definitely works on links.)

<{[Using backslashes alone, it seems quite possible to accomplish everything you're looking for.]}>

The code for the above sentence is (illustrated by copying and surrounding with backticks (`): &lt;\{\[Using backslashes alone, it seems *quite* possible to accomplish everything you're looking for.\]\}>

I am admittedly testing all of this in the realtime preview as I write this feedback and not in the chat as such. I do notice attempting to escape triangle brackets on a single word (i.e. effectively a HTML tag) doesn't work very well:

\&lt;lol\> : \<lol>

The easiest workaround I could find was just to add a zero-width whitespace inside the brackets, breaking HTML parsing and forcing the Markdown parser to render it literally:

&lt;&#8203;lol> : <​lol>

Genevieve Lilliana

I don't recall typing &lt;, though; I definitely typed &lt;.

Genevieve Lilliana

That is, the literal left triangle bracket character which very happily appeared in my preview <.

  Got something to say? Why don't you register and participate?
Litphoria has a unique community feedback system, where the community decides what profile options are available, and what order new features are developed.

I want my voice heard! tell me more!