obsidian-banners icon indicating copy to clipboard operation
obsidian-banners copied to clipboard

Display a title in the banner

Open TfTHacker opened this issue 3 years ago • 3 comments

It would be nice in addition to displaying an icon in the banner, that a title could be provide that renders in the header.

Or better yet that the page is not pushed down by the banner but is behind the document. that way I can use markdown to control what content appears in the banner area.

Thank you for this interesting plugin.

TfTHacker avatar Feb 01 '22 11:02 TfTHacker

Ah, so I'm thinking it'd be similar to how the icon is placed for something like that. And if there is an icon alongside a "banner title", per say, it would be rendered beside the icon, I assume.

I think that's doable with a sort of banner_title frontmatter field. Unfortunately I don't think it's possible to put the banner behind the document because of where and how the banner is rendered (or at least in the Reading View as far as I'm aware), but rendering the title similarly to the icon seems like a good way to go for this

noatpad avatar Mar 04 '22 18:03 noatpad

Hi, this would be great and save me a lot of trouble! Is this planned? I think the idea of using a yaml property is good.

Rhydderch avatar Aug 04 '22 11:08 Rhydderch