valentinnodan / mdx-intellij-plugin

MIT License
8 stars 2 forks source link

Autoformat malforms markdown links #12

Open danon opened 3 years ago

danon commented 3 years ago

In my *.mdx files, I have a set of links at the bottom of my file:

[`\Countable`]: https://www.php.net/manual/en/class.countable.php

when I hit autoformat (a shortcut I use often), then it becomes malformed, because the colon is removed, and is acutally replaced with a space.

[`\Countable`]  https://www.php.net/manual/en/class.countable.php
              /\ - removed
vladsholokhov commented 3 years ago

Hello @Danon, thanks for the report.

Reproduced in:


Build #WS-211.6305.4, built on March 2, 2021
WebStorm EAP User
Expiration date: April 1, 2021
Runtime version: 11.0.10+9-b1341.18 amd64
VM: Dynamic Code Evolution 64-Bit Server VM by JetBrains s.r.o.
Linux 5.4.0-66-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 1915M
Cores: 8
Registry: 
Non-Bundled Plugins: mdx.js (1.1.211)
Current Desktop: ubuntu:GNOME```
danon commented 3 years ago

@vladsholokhov @anstarovoyt Can I help somehow? I also found another bug in issue #9

vladsholokhov commented 3 years ago

I don't think so, we reproduced the issue and @anstarovoyt will take a look when he has time :) Thanks!

danon commented 3 years ago

I don't think so

Oh, I understand.

danon commented 2 years ago

@vladsholokhov Any change this could maybe be fixed in some near future?