+
Skip to content

In markdown links, automatically convert ".md" into ".html"? #319

Open
@calen-legaspi

Description

@calen-legaspi

In markdown, I'd like the raw files be able to link to each other like this:

[link to other spec](OtherSpec.md)

However, when I do that, the generated HTML links are broken because they end up like this:

<a href="OtherSpec.md">link to other spec</a>

So what I end up doing is writing the markdown links like this:

[link to other spec](OtherSpec.html)

but now the links in the raw markdowns are broken.

I think it would be convenient if we could write proper markdown links, and then the spec generator would simply convert all the ".md" into ".html"...

<a href="OtherSpec.html">link to other spec</a>

Would it be alright to see this in a future build? Maybe there would be a scan first if the md files actually exist before doing the conversion, just in case the author really wants to link to an external URL with a ".md" extension.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载