Open StevenMaude opened 2 years ago
There are at least two distinct aspects here to consider.
How we should write the content.
This might be enforced somewhat via linting, if there's a suitable linter; for example, using Vale.
If we choose to do this, we should probably choose an existing style guide and extend it with any extra rules we require.
Included as examples here only, not necessarily what we should do ultimately:
opensafely
when referring to other aspects such as the opensafely-cli
or our GitHub organisation.How we should write the Markdown (examples: formatting of numbered lists).
This, too, might be enforced somewhat via linting, if there's a suitable linter (examples: markdownlint, or another markdownlint).
It's possibly easier to enforce, as we're only interested in the Markdown syntax and structure here. That said:
Included as examples here only, not specifically necessarily what we should do ultimately:
#
heading format, not the "setext" =====
, -----
format.*
for bulleted lists.Some items may actually crossover to some extent. Sometimes the available features in Markdown may influence how you write content.
danger
/warning
admonition instead)This really crosses over with #643, which is about providing tooling for editors and applying rules to pull requests.
Actual example use case: we want to use "SNOMED CT" throughout text; #909.
Use of style guides might make the documentation more consistent.