Skip to content

Remark parses <svelte:head> as a link #1308

Answered by ChristianMurphy
babakfp asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @babakfp!
We follow the autolink rules commonmark https://spec.commonmark.org/0.31.2/#autolinks


The characters < and > are used in Markdown to define autolinks, which are absolute URIs and email addresses enclosed within those characters. The specification defines the rules for what qualifies as a valid autolink.

According to the specification, a URI autolink must start with <, followed by an absolute URI (a scheme, colon, and then characters other than ASCII control characters, space, <, and >) and end with >. Similarly, an email autolink must start with <, followed by an email address (matching a specific regex pattern), and end with >.

The examples you provided that get parsed as …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@babakfp
Comment options

Answer selected by babakfp
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