Commit 5d90c8d
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 dd77df1 commit 5d90c8d
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
260 | 268 | | |
261 | 269 | | |
262 | 270 | | |
| |||
0 commit comments