darrenkuro / obsidian-basetag

A lightweight obsidian plugin to render the basename of tags in preview mode.
MIT License
27 stars 1 forks source link

The base tag renders twice for the first item in a list. #1

Closed noellecdv0 closed 1 year ago

noellecdv0 commented 1 year ago

I LOVE this plugin and it's exactly what I was looking for to mitigate my long tags (since I love nesting). The only problem I've noticed is that the first task or item in any given list renders the base stage it's tagged with twice. Screenshot below:

image

darrenkuro commented 1 year ago

This is likely due to a clash with a competing post markdown renderer by another plugin. Do you mind sharing a list of your enabled plugins?

noellecdv0 commented 1 year ago

I have quite a few plugins installed. Here are screenshots of them all. image image image image image

darrenkuro commented 1 year ago

Fixed. Try update to the new version, it should work fine now. Thanks for reporting!

(Note: problem was custom rendering in dataviewjs code block, same element went through postprocessor multiple times, added a class to prevent tags already rendered from rendering again.)

darrenkuro commented 1 year ago

Oops, minor hiccup, now it should be working. :)