TSMarkdownParser icon indicating copy to clipboard operation
TSMarkdownParser copied to clipboard

Reference-style links

Open invliD opened this issue 8 years ago • 8 comments

The parser currently does not support reference-style links. Is there any plan to support that syntax?

invliD avatar Jun 20 '16 12:06 invliD

No, I do not have plan to support it in the near future, as it is not doable with regex. A grammar parser/lexer would be needed, so basically a totally different implementation.

Coeur avatar Jun 21 '16 03:06 Coeur

It could be done with regex, but with multiple passes, which is not desired most of the time.

This is [an example] id reference-style link.

Coeur avatar Jun 21 '16 03:06 Coeur

Bah... I did multiple passes already for CodeEscaping... so I guess I can do it for reference-style links.

Let me try to work on it for version 3.0.0.

Coeur avatar Jun 21 '16 03:06 Coeur

@Coeur What's your status with this feature? Need any help?

invliD avatar Jul 11 '16 12:07 invliD

Will release it this weekend.

Coeur avatar Jul 12 '16 02:07 Coeur

@Coeur Any news?

invliD avatar Aug 22 '16 16:08 invliD

I'm so sorry. As you noticed, I didn't work for a few months.

Coeur avatar Aug 23 '16 01:08 Coeur

@Coeur Did you make some progress? Could you publish your current version so I can finish it if you don't have the time?

invliD avatar Sep 22 '16 15:09 invliD