Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single-line callouts don't work #488

Closed
erikwestra opened this issue Dec 9, 2022 · 3 comments
Closed

Single-line callouts don't work #488

erikwestra opened this issue Dec 9, 2022 · 3 comments
Labels
bug Something isn't working resolved
Milestone

Comments

@erikwestra
Copy link

In Obsidian, it's possible to have a one-line callout with no additional text, like this:

> [!warning] This is a warning.

This gets rendered like this:

Screen Shot 2022-12-09 at 11 12 30 PM

In ObsidianHTML, it isn't recognised as a callout and is rendered like this:

Screen Shot 2022-12-09 at 11 14 31 PM

Could you possibly add support for single-line callouts at some stage?

@dwrolvink dwrolvink added the enhancement New feature or request is accepted and will be worked on label Dec 9, 2022
@dwrolvink
Copy link
Collaborator

Should be a pretty easy fix.

dwrolvink added a commit to dwrolvink/obsidian-html that referenced this issue Dec 16, 2022
dwrolvink added a commit that referenced this issue Dec 16, 2022
@dwrolvink
Copy link
Collaborator

Try it now

@dwrolvink dwrolvink added bug Something isn't working Waiting for feedback and removed enhancement New feature or request is accepted and will be worked on labels Dec 16, 2022
@erikwestra
Copy link
Author

This works perfectly now -- thank you!

@dwrolvink dwrolvink added this to the v3.4.0 milestone Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working resolved
Projects
None yet
Development

No branches or pull requests

2 participants