Add template files for consistency.

This commit is contained in:
Rodrigo Girão Serrão
2022-12-22 11:26:04 +00:00
parent a1a7b4db2a
commit 3495a9b7e1
3 changed files with 207 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
<!-- Template file for a Textual CSS type reference page. -->
# &lt;type-name&gt;
<!-- Short description of the type. -->
## Syntax
<!--
--8<-- "docs/snippets/type_syntax/type_name.md"
-->
## Examples
### CSS
<!--
Examples should be rule-agnostic.
Include a good variety of examples.
If the type has many different syntaxes, cover all of them.
Add comments when needed/if helpful.
-->
```sass
* {
rule: type-value-1;
rule: type-value-2;
rule: type-value-3;
}
```
### Python
<!-- Same examples as above. -->
```py
type_name = type_value_1
type_name = type_value_2
type_name = type_value_3
```