primary source of my static site generator for my blog, the github link is a mirror for github actions
Find a file
Pagwin 7a0032c7d3
add ReferenceImage to the IR and use it for ![alt][ref]
The reference form of the image syntax had nowhere to go: Image only has a
url, so the parser was putting the label there and `![a][b]` came out
identical to `![a](b)`, with nothing downstream aware the url still needed
resolving against a RefDef.

Adds a ReferenceImage constructor mirroring ReferenceLink and has the djot
parser emit it. As with reference links, an empty label falls back to the
alt text.

Note HTML.hs still renders neither reference form.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 15:21:46 -04:00
.github/workflows version bump due to being close to the point where I'll start using this 2025-11-26 21:02:22 -05:00
app moved everything into src for ease of testing 2025-12-05 19:42:15 -05:00
src add ReferenceImage to the IR and use it for ![alt][ref] 2026-09-04 15:21:46 -04:00
tests/Markdown fixed HTML block case, and greedy plain inline text 2025-12-13 16:53:23 -05:00
.dockerignore added .git to .dockerignore 2025-12-13 18:52:41 -05:00
.gitignore minor fuckup with static files 2024-08-02 01:03:09 -04:00
action.yml updated action.yml 2025-12-13 20:00:45 -05:00
CHANGELOG.md changelog 2025-12-13 20:06:26 -05:00
Dockerfile fixed docker issues 2026-02-26 01:32:12 -05:00
LICENSE initial commit after moving out of repo 2024-07-20 16:49:21 -04:00
psb.cabal implement the djot parser 2026-09-04 15:15:33 -04:00
TODO.md some TODO planning 2026-05-05 15:07:27 -04:00