Commit c294133
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 5438679 commit c294133
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
378 | 385 | | |
379 | 386 | | |
380 | 387 | | |
| |||
0 commit comments