Microdown icon indicating copy to clipboard operation
Microdown copied to clipboard

Url parsing should not looks for inline elements

Open Ducasse opened this issue 3 years ago • 6 comments

For example,

[https://guillaume-be.github.io/2021-09-16/byte_pair_encoding](https://guillaume-be.github.io/2021-09-16/byte_pair_encoding)

contains _ and it should be kept as is.

Ducasse avatar Oct 22 '22 15:10 Ducasse

on github it works.

Ducasse avatar Oct 22 '22 15:10 Ducasse

It will fix itself if we implement http: and https: to implement a link by itself, as has been suggested before. Url parsing must inline parse as [my **bold** link](https://nowhere.com/completelyLost.md)

kasperosterbye avatar Oct 22 '22 15:10 kasperosterbye

But actually, there is a parser error in that if I try with raw, I get this error in parsing:

Microdown parse: '[{{https://guillaume-be.github.io/2021-09-16/byte_pair_encoding}}](https://guillaume-be.github.io/2021-09-16/byte_pair_encoding)' 

gives: image

That is, some of the arguments are moved to after the URL thingie.

kasperosterbye avatar Oct 22 '22 15:10 kasperosterbye

I am just at the moment sitting and rewriting the entire inline parser - maybe it will be less problematic if I succeed.

kasperosterbye avatar Oct 22 '22 15:10 kasperosterbye

Gogogo I also hated that guy.

Ducasse avatar Oct 23 '22 19:10 Ducasse