Closed kimtore closed 4 months ago
Welcome @kimtore! 👋 This project isn't markdown it. If you want to file a markdown it rust bug, file it at their issue tracker.
https://github.com/markdown-it-rust/markdown-it
Or you could try this project! 🙂
Heh, my bad, thanks. I tried this project but needed URL autolinking, so had to go with the other one.
Not sure what you mean as URL autolinking. Perhaps you mean GFM autolinks. This project has GFM: https://github.com/wooorm/markdown-rs#extensions
Sort of - similar to GFM autolinks.
I want https://...
to be converted into links, and preferably removing the https://
part from the text.
Tried to do this with markdown-rs
but it seems that it is required to wrap the link in <angle brackets>
.
I want
https://...
to be converted into links, and preferably removing thehttps://
part from the text.
That first part is what GFM does.
it seems that it is required to wrap the link in
<angle brackets>
.
That is what CommonMark does.
Thanks a lot, I didn't realize that GFM did the trick. Now back to using your library :-)
Is there a chance you'll implement protocol removal of link texts as an option?
nope, this crate follow standards.
if you want pretty urls, I’d recommend: [`example.com`](https://example.com)
.
there are issues open about plugins — those, when implemented, could do that though.
markdown-it throws a panic when input is malformed:
Rendering code:
This is my input data: