You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Suggested AsciiDoc formatting stuff (general best practice stuff) #2
To consider going forward, but not required for approval of any particular PR.
I would say # 2 is the most important to me since it has real accessibility impact.
1. For AsciiDoc (.adoc) documents to be stored in and rendered in Github, consider adding conditional Github preprocessing macro to your document header:
In combination with adding section level for each query, this will give an overview of the queries on each page with the ability to jump to a specific query.
It also means structural navigation of the document is NOT solely dependent on Github's implementation of "Outline" which could go away or break at any minute. And part of the beauty of AsciiDoc is that the files can seamlessly be converted to PDF, or, with an extra step or two, many other document formats.
Example document header:
:toc:
:toc-placement!:
:toclevels: 4
(other header stuff)
= Document title
Optional short intro paragraph, after which an auto-generated TOC will appear...
toc::[]
== Heading
blah
=== Subheading
blah blah
==== Sub-sub heading
blah blah blah
Activity
livsolis commentedon Jun 23, 2025
Thanks for these. Will begin implementing in the next PR.