Commit 5314d25
fix: resolve relative image paths in step.html viewer
Images referenced from markdown files with relative paths (e.g., ./images/foo.png)
were broken when rendered through step.html on GitHub Pages. Added path rewriting
in loadStep() to resolve image URLs against the markdown file's directory.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 4884a1c commit 5314d25
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
773 | 780 | | |
774 | 781 | | |
775 | 782 | | |
| |||
0 commit comments