Zettelkasten Forum


Statistics of All Tags (plug-in) - Double Hashtags

Hi, I enabled this plugin and I like it, but it was adding an extra pound sign at the beginning. So I attempted to modify the plugin (I'm no programmer) and I wanted to make sure I modified it correctly. I removed the '#' on line 21. It now shows the tags with the correct amount of "#"s.

body += tagCount[1] + " " + tagCount[0].toString() + "\n";

WAS:
2 ##someTag
1 ##otherTag

NOW:
2 #someTag
1 #otherTag

Comments

  • It seems to be working okay, no immediate ramifications so far.

  • Where's your plug-in? You can upload it to the Plug-In Showcase section of the forum
    . We can try it out. I'm curious to see what it does.

    Will Simpson
    My peak cognition is behind me. One day soon, I will read my last book, write my last note, eat my last meal, and kiss my sweetie for the last time.
    My Internet HomeMy Now Page

  • @Will said:
    Where's your plug-in? You can upload it to the Plug-In Showcase section of the forum
    . We can try it out. I'm curious to see what it does.

    I did not make a plug-in. It was a modification to an existing plugin that comes with TA. "Statistics of All Tags". When I was running it, it as adding a an extra '#' to the hashtag prefix. I was only asking if my modification was okay/safe since I'm not a programmer.

  • I think it is a bug in the core plugin. Maybe @ctietze can bake a quick hotfix for it whenever he has time for it. I suppose the core plugins are not updated separately and fixes for them are shippied along with The Archive updates?

    @jtmusky said:
    I was only asking if my modification was okay/safe since I'm not a programmer.

    Your modification was completely safe.

  • @jwa said:
    Your modification was completely safe.

    Thank you!

    If I were to make a plug-in, my idea would be to create a quick "backlink" search of the current note. It would open a new tab and placing the "UUID" of that note in the search bar.

  • @jtmusky said:
    If I were to make a plug-in, my idea would be to create a quick "backlink" search of the current note. It would open a new tab and placing the "UUID" of that note in the search bar.

    As far as I know, the described behavior is not possible with the current plugin API.

    If the plugin made by @brborghi (which appends backlinks into the current note) is not suitable for your needs, you can try one of mine which shows the backlinks in a separate popup window. My approach is not necessarily that helpful for you either, because it assumes that every note has a first level header which is used as a description of the backlink.

  • This plug-in is fantastic. Thank you! I can adapt and a simple workflow change on my part is no issue. I am now placing an H1 in all my existing notes to ensure compatibility. Thank you thank you

  • I am happy you found it useful!

  • Providing tweaks for the built-in plug-ins is weird at the moment; thanks for your improvement. I'll see that I publish the plug-ins on GitHub so it's easier to view and edit them

    Author at Zettelkasten.de • https://christiantietze.de/

Sign In or Register to comment.