vole
Site
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/vole.git
Self-hosted forge that lives in your Git repo.
Keep procedure code blocks at the left margin
6d574becea8dcf72139479270da7c417ec5330de · Keenan Nemetz · 20d ago · parent a0172426
Keep procedure code blocks at the left margin The site builds with Python-Markdown's fenced_code extension, which only recognizes a fence that starts at column 0. Four pages nested a fenced block under an ordered list item instead, so the fence was parsed as inline code and the page showed the language token and the commands joined into one pill: `sh vole workflow check vole workflow list`. Number each affected procedure's steps with headings, the idiom quickstart.md already uses, and keep the fence at the left margin. The prose that followed a block stays with its step. DEVELOPMENT.md now records the constraint, because the Markdown is valid CommonMark and renders correctly through the forge's goldmark, which is why nothing caught it before. Refs: 01M7BHJX0D3HBF01Y04YZM8GYB
DEVELOPMENT.md +5
| @@ -148,6 +148,11 @@ list in `mkdocs.yml`, so a new page needs an entry there as well as a link. The | |||
| 148 | 148 | theme in `docs-theme/` uses the same Everforest dark/medium palette and fonts as | |
| 149 | 149 | the forge, so a docs change does not need a separate visual language. | |
| 150 | 150 | ||
| 151 | Python-Markdown only recognizes a fenced block whose opening fence starts at the | ||
| 152 | left margin. A fence indented under a list item is read as inline code, so give a | ||
| 153 | procedure's steps headings, as `docs/quickstart.md` does, instead of nesting a | ||
| 154 | fence inside an ordered list. | ||
| 155 | |||
| 151 | 156 | Check relative Markdown links after editing documentation: | |
| 152 | 157 | ||
| 153 | 158 | ```sh | |