MSzturc / obsidian-advanced-slides

Create markdown-based reveal.js presentations in Obsidian
https://mszturc.github.io/obsidian-advanced-slides/
MIT License
988 stars 82 forks source link

Callout does not render if there is not space betwee > and [!calloutTitle] #267

Open Antscool opened 11 months ago

Antscool commented 11 months ago

Describe the bug Callouts are not rendered in slides if there is not a space between the > and [ while in obsidian it renders correctly.

Samples to Reproduce Create a Callout with no space between the > and [ Gets rendered as blockquote Expected behavior Callout renders correctly with title and symbol

agentlibre commented 10 months ago

I don't see it as a true issue since the space also works in Obsidian.

Just adapt the practice in Obsidian as it works for both?

Antscool commented 10 months ago

Agreed this is an extremely minor issue. Regardless, Obsidian renders the callout both with and without the space. In the slides not rendering it correctly without a space, it is not correctly addressing an intended behaviour and is therefore a bug.

From a users point of view who doesn’t know that it currently only works with a space, in Obsidian it is working correctly (them using not using a space), but the slide is rendering it as a block quote even though documentation says it supports callouts. The user would say this is a bug.