nothingislost / obsidian-query-control

An experimental Obsidian plugin that adds controls to embedded queries
MIT License
278 stars 16 forks source link

Does not render footer content when "Render Markdown" is turned on #7

Open ceciliamay opened 2 years ago

ceciliamay commented 2 years ago

embedded-issueflag

Hello NiL!! First of all, thank you for this plugin (and all the others, you effing wizard)!!

The gif above shows a search content under the File Explorer search tab. If you can see there's a little space at the bottom but with no content, just some padding. When you hover, it's actually supposed to be the footer content. It will show if I turn Render Markdown off.

nothingislost commented 2 years ago

So, the renderer is rendering the exact text in the result as markdown. What does a footnote look like if you put it into a blank document and turn on preview? I'm guessing it won't render unless the footnote ref is also included in the document.

If it doesn't render, I'm not sure I'll be able to support this. Maybe if footnote syntax is detected by itself, it just renders as plain text?

ceciliamay commented 2 years ago

Aaaahhh I see I see. I like the idea of rendering it as plain text though! If that's the only way, I definitely would prefer seeing some content rather than it just being "nothing"/whitespace. When I loaded up this particular search in my vault it pointed to a lot of footnotes so I was just seeing a bunch of whitespace and borders which I don't think is ideal?