Commit 6ed1f27
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 0f5d450 commit 6ed1f27
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
773 | 773 | | |
774 | 774 | | |
775 | 775 | | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
776 | 783 | | |
777 | 784 | | |
778 | 785 | | |
| |||
0 commit comments