Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow output page extension to be .htm instead of .html #2424

Closed
kmod-midori opened this issue Jun 4, 2020 · 2 comments
Closed

Allow output page extension to be .htm instead of .html #2424

kmod-midori opened this issue Jun 4, 2020 · 2 comments

Comments

@kmod-midori
Copy link

Feature request

What problem does this feature solve?

I am working on a site which, for some text filtering reason, requires htm instead of html as the
extension of output HTML pages. vuepress-plugin-clean-urls kind of solves this problem by changing the output path, but internal links that ends with .md seems to be hardcoded to be replaced by .html, which is not ideal.

What does the proposed API look like?

Probably a option such as htmlSuffix, or a new plugin?

How should this be implemented in your opinion?

Same as above.

Are you willing to work on this yourself?

I am willing to try to work on this, but it seems that this is hardcoded in an unknown place (I tried debugging @vuepress/markdown/lib/link.js, but no breakpoint is hit.

@davidgiga1993
Copy link

Duplicate of #2420

@billyyyyy3320
Copy link
Collaborator

Thanks for the report. Going to trace the issue in #2452.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants