obsidian-code-block-copy icon indicating copy to clipboard operation
obsidian-code-block-copy copied to clipboard

YAML header shouldn't have copy button?

Open hauselin opened this issue 5 years ago • 2 comments

Currently, YAML headers also have copy buttons. Is that intended? For example, the following header at the top of a note has a copy button associated with it.

---
tags: [tag1, tag2]
---

Should they be treated like code blocks, or not?

hauselin avatar Nov 22 '20 03:11 hauselin

I'm working on a new version. I'll provide a settings toggle to show/hide the button on the front matter. What do you think?

jdbrice avatar Nov 22 '20 22:11 jdbrice

Perfect! I think that's a great solution. Thanks for working on this!

hauselin avatar Nov 22 '20 23:11 hauselin