Teradata / covalent

Teradata UI Platform built on Angular Material
https://teradata.github.io/covalent/
MIT License
2.23k stars 358 forks source link

Markdown component doesn't handle links to other markdown files when offline #2193

Open JulieMarie opened 1 month ago

JulieMarie commented 1 month ago

Describe the bug When creating urls for links to other markdown files in the markdown component, the component assumes an absolute path. For using IPH files offline, the component needs to handle relative paths as well as absolute paths.

To Reproduce Steps to reproduce the behavior:

  1. Change IPH to host file for offline use
  2. Try to open a md file that calls out a link to another markdown file
  3. Note the error in the console

Expected behavior User expects to see help files displayed properly whether they are online or offline

Screenshots Online:

Screenshot 2024-07-18 at 12 12 38 PM

Offline:

Screenshot 2024-07-18 at 12 13 06 PM

Desktop (please complete the following information):

Additional context N/A