Smart parsing of internal ID for presentation in Markdown #80

Open
opened 2026-09-23 15:53:45 +00:00 by scossu · 0 comments
Owner

When writing Markdown text, it would be very useful to allow a simple method to refer to internal repository resources without having to type out the whole URL (which also may change).

#79 already mentions the need for some post-processing to fix markdown issues; the same process could parse a well-known scheme, e.g. <a href="par:797380a9"> becomes <a href="[webroot]/res/79/73/797380a9.html">.

That may be easier to do as a pre-processing step, but that requires a separate function.

When writing Markdown text, it would be very useful to allow a simple method to refer to internal repository resources without having to type out the whole URL (which also may change). #79 already mentions the need for some post-processing to fix markdown issues; the same process could parse a well-known scheme, e.g. `<a href="par:797380a9">` becomes `<a href="[webroot]/res/79/73/797380a9.html">`. That may be easier to do as a pre-processing step, but that requires a separate function.
scossu added this to the v1.1.0 milestone 2026-09-23 15:53:53 +00:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ktx/pocket_archive#80
No description provided.