Skip to content

Empty link text #305

@cabo

Description

@cabo

Commonmark allows link text to be empty:

http://spec.commonmark.org/0.24/#links

kramdown doesn't: [](#) is not recognized and rendered literally.

Now this has been the case for a long time (apparently, it drove me to define special syntax for RFCXML xrefs in 2010 or so).

Still, I'd like to understand the rationale for this, and, if it turns out to be weak, discuss whether this behavior can be changed to be more like commonmark.

(There are legitimate uses of empty link text even in HTML, but I'm mainly interested in using this for kramdown-rfc2629.)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions