chadtmiller.com/knotless
Git hosted in your atproto account, on any stock PDS, fast enough for agents.
git clone knotless://chadtmiller.com/knotlessneeds the knotless git helper. set it up
Git hosted in your atproto account, on any stock PDS, fast enough for agents.
git clone knotless://chadtmiller.com/knotlessneeds the knotless git helper. set it up
A Markdown file's page now shows it rendered by default, like a README, with Preview / Code links in the file header.
?plain=1shows the highlighted source, matching GitHub's convention. Raw is unchanged.Server (
web.rs)Blobgainshtml: Option<String>, set for Markdown files shown as text.textandrangesstill come back, so the toggle needs no extra data.markdown()as READMEs (raw HTML escaped, non-http(s)/mailto schemes dropped).is_markdown()(.md,.markdown,.mdown,.mkd), now also used for READMEs, soREADME.markdownrenders too.Repo::dir()factors out the directory-URL closure fromlisting.Web
plainfrom the URL and switches between.proseHTML andCodeView. Toggle reuses the.filter/aria-currentstyling from the pulls/issues switch.Blob.tsupdated by hand to match what ts-rs should emit;cargo testwill regenerate it.Not done / to check
is_markdown; no integration assertion on/_data/.../blob/...mdyet intests/web.rs.markdownscreenshot baseline inharness/shotswill change.#L12links to a Markdown file land on the preview; they need?plain=1(same as GitHub).