Monorepo for Tangled tangled.org
854
fork

Configure Feed

Select the types of activity you want to include in your feed.

proposal: markdown: single line comments #362

open opened by bhmt.dev

Markdown is a superset of HTML, inheriting its multiline comment syntax. HTML doesn't have a single-line comment, and nether does any variant of Markdown (that I know of), but JavaScript -- which also uses HTML's multiline comment syntax -- does.

I propose that it would fit both the spirit of the ecosystem and the function of the language to add JavaScript's // as a single-line comment syntax, and would be a meaningful quality of life addition to users.

Additionally, the other popular choice for this across other languages, #, isn't an option due to its existing use for headers.

(Up front, I do realize that it would require parsers to look first for whitespace, or really anything other than URL schemes, but while I recognize the tradeoff I at least believe that it's worth consideration.)

[deleted by author]
[deleted by author]
sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:6wgqufzto25uhayoex2bbkqh/sh.tangled.repo.issue/3me7qlov5ew22