Skip to content

mdfromat reformatting hyperlink URL field: bug or feature? #665

Answered by hukkin
rpdelaney asked this question in Q&A
Discussion options

You must be logged in to vote

Hey there!

This is a documented feature, not a bug.

Why is it doing this?

Mdformat is an opinionated formatter. Many formatting decisions are made to achieve consistency and avoid having a document where the same syntax is expressed in varying styles.

In your example, the link renders to equal HTML regardless of whether the angle brackets are there or not, and mdformat's opinion is to not have them.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hukkin
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