Markdown: Setting attributes on lists breaks formatting (Goldmark/Hugo)

We use hugo with goldmark on one of our projects. Goldmark supports setting attributes on a list. Below is an example of what i would need to write:

```markdown
1. one
2. two.
{# .outer .text-blue-400 type="A" data-a="" reversed=""}
```

However, WebStorm indents the last line. 

I can't use a newline in between as that doesn't work for goldmark.

I looked in the settings, but don't see an option to disable this smart indentation.

0

I have been able to do this, but it makes the markdown look very messy

[//]: # (@formatter:off)
1. one
2. two.
{# .outer .text-blue-400 type="A" data-a="" reversed=""}
[//]: # (@formatter:on)
0

Hi Raphael,

This kind of formatting is not yet supported in our IDEs I'm afraid.

You are welcome to upvote the corresponding feature request, IJPL-180343

0

请先登录再写评论。