[Plugin] New Lower-Level Note: automation of the folgezettel filenaming approach
This is one of two plugins for The Archive that automate the folgezettel naming convention.
The New Note Sequence plugin creates a new note sequence automatically.
The plugin looks for the Folgezettel ID in the filename, extracts it, and creates a new note with the filename based on the current note, selected in The Archive.
It also creates a heading of the level 1 with the Folgezettel ID.

Post edited by ctietze on
Howdy, Stranger!
Comments
I have updated the plug-in and added a thorough description of its functionality.
The previous version of the plug-in implemented a different approach to the alphabetical values of the Folgezettel ID. That approach caused the sorting inconsistencies, exemplified in the extreme cases when the alphabetical part of the existing Folgezettel ID ended with a
zcharacter and the next alphabetical value would beaa, so the new note went afteravalue and appeared earlier in the sequence.The current plug-in version implements another logic in the same extreme case it adds an
avalue to thezvalue, so the following thezvalue becomeszain this example.The New Note Sequence plug-in release of the 1.1.0 version is available on the same GitHub page.
The new description of the plug-in is presented below:
The New Note Sequence plug-in is supposed to work in a Folgezettel-based Zettelkasten.
The plug-in ignores any occurrences of Citekeys as
Baljeu1974or Timestamp IDs as202412291635in the filenames. It extracts the Folgezettel ID from the selected note’s filename. Then the plug-in compares the extracted ID to the rest ones presented in the filenames to generate the next available Folgezettel ID of the new level related to the one in the selected note’s filename.The plug-in will extract Folgezettel ID from any position in the filename, assuming
1,1a Note name,Note name 1,2c,Note Name 1,3f with additional information in the filenameas possible examples. The plug-in will ignore and won’t extract a Folgezettel ID if the selected note filename contains a Timestamp ID or a Citekey.The following list of notes’ filenames is the basis for the description of the plug-in algorithms.
11,11,21,2a1,2b1,322,12,1a…2,1zAssuming that the selected note has a filename of
1,2a, the plug-in will create a note with1,2a1filename and theH1 levelheading with the new Folgezettel ID as its content.For the filenames ending with the digital part of the Folgezettel ID, the plug-in creates an available Folgezettel ID of the next level, following the same logic as with the alphabetical parts. For example, the filename
1,2will result in the note with the Folgezettel ID1,2c, and the filename2gives a Folgezettel ID of2,2.In the extreme cases, when the alphabetical part of the existing Folgezettel ID ends with the
zcharacter, the new ID generated by adding anacharacter at the end of the initial alphabetical part. The new level of Folgezettel ID for the note2,1will become2,1zabecause2,1zexists in the exemplified note list.I have changed the name of the plug-in to the New Lower-Level Note, based on this discussion.
The New Lower-Level Note plug-in release of the 1.1.1 version is available on the same GitHub page.
👍 I renamed the discussion accordingly!
Author at Zettelkasten.de • https://christiantietze.de/