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

Don't Trim Whitespace around Highlight #285

Open
Tally opened this issue Mar 27, 2024 · 1 comment
Open

Don't Trim Whitespace around Highlight #285

Tally opened this issue Mar 27, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Tally
Copy link

Tally commented Mar 27, 2024

Is your feature request related to a problem? Please describe.
Plain line breaks are trimmed from around the highlight template, which joins callouts, and attempts to circumvent this produce greater problems in Obsidian.

Describe the solution you'd like
Preserve surrounding whitespace in the highlight template.

Describe alternatives you've considered
Edit main.js from ((e,n.map(e=>this.highlightRenderer.render(e,t)).join("\n"))
to be (e,n.map(e=>this.highlightRenderer.render(e,t)).join("\n\n"))
Additional context
Thanks.

@Tally Tally added the enhancement New feature or request label Mar 27, 2024
@aqav
Copy link

aqav commented Sep 26, 2024

+1 please keep all original format in template, including space, new line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants