MarkdownEditing icon indicating copy to clipboard operation
MarkdownEditing copied to clipboard

Use new embed rule on latest dev builds

Open djspiewak opened this issue 9 years ago • 3 comments

Dev build 3153 introduced a new construct, embed, which allows for considerably more robust embedding of nested modes. Use of this construct would make MarkdownEditing behave considerably better in the context of partially-valid stateful embeddings. For example:

```scala
type Foo =
```

I'm still a code block!

The ``` terminator is not captured by MarkdownEditing today because of the extra context pushed onto the stack by the = token inside the Scala mode. embed fixes this issue.

djspiewak avatar Nov 12 '17 18:11 djspiewak

This is wonderful! I tried it and it works perfectly in markdown fenced code blocks. I will certainly update fenced code parsing with the new embed action once Build 3153 is rolled out on production channel.

felixhao28 avatar Nov 27 '17 07:11 felixhao28

version 2.2.7.There is still this problem. How to deal with it?

theSouthSea avatar Sep 05 '18 13:09 theSouthSea

image

I don't see anything wrong.

felixhao28 avatar Sep 06 '18 09:09 felixhao28