madskristensen / WebEssentials2015

A Visual Studio extension for web developers
Other
300 stars 92 forks source link

Markdown Editor: Tag inside code-snipped treated as html #105

Closed SeriousM closed 9 years ago

SeriousM commented 9 years ago

Hi, the following <Bla> in ILog<Bla> is treated as html tag in the editor and forces a text indent until closed (which will not happen).

Thats the code for the editor:

This `ILog<Bla>` shouldn't be a tag nor force an indent.

The same wrapped in a code-block doesn't show this behaviour.

madskristensen commented 9 years ago

This is not something that is caused nor can be fixed by Web Essentials. It's the Razor editor in Visual Studio

SeriousM commented 9 years ago

Hmmm, and why is the razor editor used for a non-html format?

So there is no workaround for that and thus, it's a useless feature (markdown preview), right?

That shouldn't be offensive, just a bunch of open questions.

Cheers

madskristensen commented 9 years ago

Only fenced code blocks are treated as plain text, not regular single-backtick code blocks. The reason is that the single-backtick code blocks doesn't behave well and will auto-complete the backtick which is super annoying.