nathonius / obsidian-trello

An Obsidian Plugin that connects Trello cards to Obsidian notes.
https://trello.com/b/1fVRPLKO/obsidian-trello
MIT License
110 stars 7 forks source link

Hide Trello card ID #49

Closed slim71 closed 1 year ago

slim71 commented 1 year ago

I've noticed that when I attach a Trello card to a note, at the top of said note lies some kind of header like trello_plugin_note_id: XXXX. Is there any way to hide this from the note itself, in reading mode? I'd prefer to only look at the Trello card from the dedicated side panel... image

nathonius commented 1 year ago

I don't think the YAML frontmatter is displayed in read mode. Do you have a plugin that displays it, or perhaps it's your theme?

slim71 commented 1 year ago

mmmm I'll have to check that, I'm not sure... Thanks!

slim71 commented 1 year ago

I can't seem to find the source, unfortunately... Just to be sure, I'd like to add this: as soon as I link a card, the appearance is like this image but if I open another note and come back to this one, it seems the ID displayed is just copied over image

It must be some other plugin or theme setting, but unfortunately I can't seem to find it for now. I'll just delete the extra bit, thanks!

nathonius commented 1 year ago

Can you reliably reproduce that duplication? It shouldn't add another YAML block. That's definitely why it's visible; the way I modify the metadata is probably out of date, but I've not been updating this plugin since I don't even use Trello anymore.

You could try removing all the Trello stuff from the file, then re-linking it.

slim71 commented 1 year ago

Seems like I can.

Upon opening Obsidian, if I link a card to a note this happens. Navigating to and back from another note, the correct YAML is shown but there's also the extra bit. Deleting everything and re-linking seems to create the correct YAML, with no extra bit. From this point on, it seems even linking another note to a card does not create the extra bit.

I'm open to provide videos or logs or whatever if needed!