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

Automatically assign extensions #147

Open
User087 opened this issue Jun 19, 2021 · 1 comment
Open

Automatically assign extensions #147

User087 opened this issue Jun 19, 2021 · 1 comment
Labels

Comments

@User087
Copy link

User087 commented Jun 19, 2021

For example, when I clone the WinPython wiki (https://github.com/winpython/winpython/wiki), and then open Home.md in Chrome with Markdown Viewer enabled, then I click 'Installation' near the bottom of the page, the result is 'Your file couldn't be accessed', presumably because it's trying to access a file 'Installation' that has no extension, whereas the file in the cloned wiki is 'Installation.md'. I suppose this isn't much of a problem in the online WinPython wiki, where the extensionless 'Installation' probably defaults to an html file. Is there a way to get Markdown Viewer to automatically add the .md extension in such cases, so when I click 'Installation' it opens 'Installation.md'?

@simov
Copy link
Owner

simov commented Jun 20, 2021

As long as markdown content is being served on certain routes you can configure the path matching regexp to enable Markdown Viewer on those routes, otherwise no, dynamically updating URLs is not supported.

@simov simov added the question label Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants