I released a new version of Snibbets this morning that solves one peculiarity: if you have multiple snippets in one file but any of them don’t contain code blocks, then the titles and display would get weird.
Now you can have sections of a snippet file (separated by ATX headers)
that contain just notes. If a section contains just notes and no code,
then the notes will be output for that section, even when not using
--notes
or having all_notes: true
set in config.
This just allows for uses of Snibbets as both a note reference and a snippet manager. It probably won’t effect people who are using it “as intended,” but opens up new use cases.
To get the latest version, use gem install snibbets
. See the project
page for more details.