deadfoxygrandpa / Elm.tmLanguage

Elm language syntax highlighting and tool integration for ST2/3
https://packagecontrol.io/packages/Elm%20Language%20Support
MIT License
122 stars 27 forks source link

A blank line is required before the end of a markdown tag #2

Closed deadfoxygrandpa closed 9 years ago

deadfoxygrandpa commented 11 years ago

The following code will get stuck in markdown syntax mode for the rest of the file:

stuff = [markdown|

# Title

This is just some placeholder text to show off the bug
|]
...

Currently, you need to format it like this to return to Elm syntax highlighting:

stuff = [markdown|

# Title

This is just some placeholder text to show off the bug

|]
...

I don't know why, because it doesn't seem like it should be happening. I will look into it soon.

deadfoxygrandpa commented 11 years ago

This is apparently an issue with the built in Markdown highlighting present in Sublime Text. Since Evan has talked about customizing the Markdown support in Elm by adding some templating features, I'll eventually need a custom Markdown highlighting definition anyway.

So I may as well do it now to resolve this issue, and then it's in place to easily edit in the future for when Elm's Markdown support changes.

evancz commented 9 years ago

As of 0.14, the markdown syntax is out, so this should all go away :)

deadfoxygrandpa commented 9 years ago

Yep, I thought about this too. When are you releasing 0.14?

evancz commented 9 years ago

Tuesday or Wednesday, so really soon!

deadfoxygrandpa commented 9 years ago

I just pushed the 0.14 updates, so this issue is no longer relevant.

evancz commented 9 years ago

Awesome, looking forward to using it :)