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

Convert .md links to .html links when saving as HTML #39

Closed
CatoAntonsen opened this issue Nov 6, 2016 · 4 comments
Closed

Convert .md links to .html links when saving as HTML #39

CatoAntonsen opened this issue Nov 6, 2016 · 4 comments

Comments

@CatoAntonsen
Copy link

Sometimes I need to make an html alternative to a set of documentation in .md format. I would be helpful if links to other .md documents are converted to .html so I don't have to do this manually.

@RickStrahl
Copy link
Owner

Not sure I understand what you're asking? You want to auto-convert any href links that are to .md files to html instead?

If so you can create a plug-in that does that, but I don't think that's a core feature that should be built-in?

@CatoAntonsen
Copy link
Author

I guess the reason you would convert to HTML in the first place is that the "recipient" is unable to view .md files. If that's the reason, then it doesn't make sence to link from the converted html file to other .md files that the "recipient" is unable to read too... (?)

But yes, I agree it's probably not a core feature.

@RickStrahl
Copy link
Owner

I don't really understand your use case. Why would you link to an md file in your scenario? Just link to the HTML file then even if it doesn't exist?

The reason we couldn't do this as part of the core product is because there's no way to know the intent you have. In a lot of documentation systems it's perfectly fine to link to an .md file that is server rendered into HTML.

@CatoAntonsen
Copy link
Author

The use case is that I have some documentation stored in VSTS maintained as multiple .MD formatted files. Technical personnel uses this version.

Occasionally I want to export these to a document library in SharePoint for a non-technical audience. It's not an option to set up a web server for this limited use.

But I agree with you that this is probably a bad solution anyway.

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

2 participants