Skip to content
Discussion options

You must be logged in to vote

according to the spec the expected output would be A link <a href="https://google.com">https://google.com</a>

No, according the Markdown spec, a paragraph gets wrapped in <p></p>. https://daringfireball.net/projects/markdown/syntax#p

This isn't a pymdown question and has nothing to do with MagicLink either. This is just how Markdown works.

This site shows multiple Markdown parsers doing the same thing with a single sentence: https://babelmark.github.io/?text=Some+text.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by facelessuser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants