A couple of users have commented recently that they use inline tags, and I’m wondering about providing support of some kind for these.
A few questions/issues come to mind.
As I’ve discussed in the Knowledge Base, the Markdown spec leaves some room for interpretation when it comes to the issue of spaces after hash symbols at the beginning of a line. Right now, Notenik comes down on the side of accepting such hash symbols as signaling a heading line, even without an intervening space. Is this still workable? This would effectively mean that inline tags at the beginnings of lines would likely be interpreted as level 1 headings. How to handle this conflict?
Can inline tags start with digits? Right now, Notenik assumes that hash symbols immediately followed by digits should be left alone.
What should Notenik use as an indication that inline tags are being used within a collection? Some possibilities: an app setting, a collection setting, or implicit assumption if all Tags values are left blank?
How should Notenik retrieve inline tags values when a collection is opened? One possibility is to do an initial Markdown parsing of each note before presenting the collection to the user. The downside here is that Markdown parsing takes some time, and so far I’ve tried to mostly defer such parsing until a note actually needs to be converted to HTML.
no comment - since I don’t have technical background about that - however I wonder the parsing time for 1000 notes. Maybe a background refresh could be performed?
Thank you, it is definitely a game changer for me!
My observations are:
Upon selecting Inline hashtags within Body under Tags Handling section in collection settings, any text with #hashtag is added to the frontmatter’s tags line.
All inline tags appear in the side bar
Currently there is no visual identification for inline tags
Inline tags are not clickable
Headings in the text are also being recognized as tags, which I guess shouldn’t be the case.
The next beta will add a link to inline hashtags, to make them clickable, and will use the same class value, but applied to the entire hashtag, for custom styling purposes.
I don’t understand what you mean by “Headings in the text are also being recognized as tags…” I’m not seeing anything like this in my testing. Could you clarify, and possibly provide an example?