quasarframework / quasar-ui-qmarkdown

A Quasar UI App Extension to display inline markdown
https://quasarframework.github.io/quasar-ui-qmarkdown/
MIT License
157 stars 28 forks source link

Links from markdown files aren't capturing the route of the page #383

Open mepearson opened 1 year ago

mepearson commented 1 year ago

The markdown code is generating links on the headers, but it is appending the # to the root of the app and not to the current page.</p> <p>I.e. if the site is located at <strong>localhost:9000/#/</strong> and you click a markdown link on the page <strong>localhost:9000/#/about</strong> documentation the resulting link is: <code>localhost:9000/#<title anchor></code> rather than <code>localhost:9000/#/about#<title anchor></code></p> <p>Tried to recreate this on the linked sandbox but getting a sandbox error when I open the calendar app. </p> <p>Assume this is an issue in the vue routing, but am new to Vue so haven't figured out how to tap into it properly</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/Jille"><img src="https://avatars.githubusercontent.com/u/460628?v=4" />Jille</a> commented <strong> 4 months ago</strong> </div> <div class="markdown-body"> <p>Are you using Server Side Rendering?</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>