Re:Show HN: Ltag – A Go CLI tool to tag your text lines
by jotaen on Friday October 27, 2023 @02:08PM
(#38041873)
My naive initial assumption (just due to my own bias) was that nesting would work the same way as in Markdown – i.e., that the number of `#`’s indicates the heading level.
Maybe worth for you to consider? It’s a well known convention, it should be fairly self-explanatory, and it would work independent of the notion of paragraphs.
# animals
elephant
## felines
cats
# plants
apple tree
## flowers
lily
I'm still trying to figure out how to allow nesting categories an arbitrary number of levels deep. But I don't want to introduce extra symbols and stuff, it'll be too much complexity too early on. I can imagine that for most cases, headings, sub-headings and inline tags are enough.
I will allow more customisation soon, such as using multiple heading identifiers. I'll add features as the need arises. I haven't used it for very long myself.