Skip to content

Converting internal .md links to .html and GFM spec #6

@jaredkrinke

Description

@jaredkrinke

Minor issue and possible misunderstanding on my part about converting internal .md links to .html:

Jekyll sees internal links like contact.md and converts them to something like contact or contact.html. The GitHub webserver observes this convention too.
...
GitHub uses an extended version of Markdown. The internal linking feature is one element of many. For complete details, see the GitHub-flavored Markdown Spec technical spec.

Does the GFM spec actually mention this feature? I couldn't find it, and additionally the command line cmark-gfm utility does not perform this translation. I think this is a feature of Jekyll/GitHub and not of GitHub-Flavored Markdown.

I would love to be corrected because I actually want libcmark-gfm (or some spec-compliant implementation) to do this for me. Not relevant to this issue, but for now, my workaround is just to implement this translation myself (on top of an existing Markdown-to-HTML rendering library).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions