feat(helpers/text): add headings and descriptions

This commit is contained in:
Mohammad Rafiq 2025-07-05 04:47:03 +08:00
parent dd0ff1e6ac
commit 9b54a02eaa
No known key found for this signature in database
3 changed files with 41 additions and 10 deletions

View file

@ -1,5 +1,9 @@
# readme
## generated-files
This flake uses the [files flake-parts module](https://flake.parts/options/files.html) to generate documentation.
The list of generated files are:
- [docs/cheatsheet.md](docs/cheatsheet.md)
- [README.md](README.md)
## helpers
### text-helper
The option `text.<name> supports either a string or a submodule with attributes order and parts. The parts attribute can either be a string, which will get concatenated in the order laid out in `text.<name>.order`, or can itself have the attributes order and parts, in which case it will be evaluated recursively.