The cultivation of knowledge entails a process, and visualizing this construction process becomes imperative. I am endeavoring to establish a system of identification to denote the maturity level of each note within my digital garden, ensuring a keen grasp on their completeness. The development of this system not only delineates the process of knowledge production but also pushes me to conduct a whole development of thoughts.
This note serves as a record of the construction.
Overview
Generally, I employ the growth stages of a tree (sprout, sapling, tree) to depict the completion status of articles, using raindrops to signify inspirational content, guide boards to represent guiding material, and withered leaves to denote outdated content.
In each note, a front-matter property maturity is used to classify different types of maturity. A component and a plugin are constructed to create pages listing notes based on their maturity level.
Modification Process
Front-matter property
In front-matter part of a note, I use a property maturity to identify the type:
Icons preparation
I use a series of icons to visually represent the maturity level of the notes. These icons are all chosen from lucide. Just choose icons you like and get their SVG files (or codes). Encode the SVG into Base64 format for embedding these icons within the CSS file.
These base64 codes are documented within the /quartz/styles/custom.scss file:
Data type of maturity
To generate listing pages of each maturity, function flatMap is used, which can only deal with string[] type. We shall convert the maturity value in front-matter into array type.
We use frontmatter.tstransformer to deal with it:
i18n of maturity
Edit the i18n file for proper display of texts.
Choose your own language, take en-US as an example:
Add maturity in tags field
Maturity value of each note is added in the tags field in the rendered page.
Generate listing pages of each maturity
To generate pages which lists notes based on their maturity, we need new component and plugin/emitter.
The source code of these two file can be found here: