OpenWaterFoundation / owf-app-infomapper-ng

Open Water Foundation InfoMapper web application for menu-driven maps and visualizations, using Angular
GNU General Public License v3.0
1 stars 2 forks source link

Can markdown page reference another markdown file? #404

Open smalers opened 3 years ago

smalers commented 3 years ago

I added a link on a content page that points to another markdown page in the same folder. When the link is clicked on, the InfoMapper shows the content as markdown, not HTML created from the Markdown. Can showdown be configured to auto-convert the markdown into HTML? If so, would it open in a new browser window or replace the content in the current page? This brings up issues of how to navigate in a documentation window such as how to deal with "back".

We need to discuss. I have temporarily put the content under the Resources menu until this can be evaluated.

smalers commented 3 years ago

Actually, it works OK if the URL to the markdown is of form #content-pages/somefile.md, in which case it takes over the window. Using browser back button correctly displays the previous page (but also reloads the application. Keep this open to have a conversation but nothing may need to change.