~sircmpwn/hub.sr.ht#67: 
Links from the hoisted readme at the project level (rendered markdown) are not rendered

Originally posted on the list at https://lists.sr.ht/~sircmpwn/sr.ht-discuss/%3C160709258105.625532.13602235403863312828%40batty.localdomain%3E


I have a sourcehut project: https://git.sr.ht/~subsetpark/bagatto

Which takes advantage of the README hoisting to display its repo's README file in the project summary. This README is written in Markdown and sourcehut automatically renders that markdown for you.

The readme also links to a MANUAL.md in the same directory ("./MANUAL.md").

Sourcehut does two subtly different things depending on where you click that link:

Clicking from the project summary brings me to https://git.sr.ht/~subsetpark/bagatto/blob/HEAD/MANUAL.md, which is the raw markdown text of the manual.

Clicking from either the repo summary or the README file inside the repo file tree brings me to https://git.sr.ht/~subsetpark/bagatto/tree/refs/heads/master/MANUAL.md, which is the rendered version of the same file.

Since I'm clicking from the rendered markdown in both cases, I would expect it to always link to the rendered manual.

Status
RESOLVED FIXED
Submitter
~subsetpark
Assigned to
No-one
Submitted
7 months ago
Updated
7 months ago
Labels
No labels applied.

~nprescott 7 months ago

Should be fixed in 0.11.16 via 64cd1e04

~sircmpwn REPORTED FIXED 7 months ago

Register here or Log in to comment, or comment via email.