Skip to content

meta-bind-embed does not preserve newlines #579

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

Closed
4 of 8 tasks
lx0n2acl opened this issue May 13, 2025 · 3 comments
Closed
4 of 8 tasks

meta-bind-embed does not preserve newlines #579

lx0n2acl opened this issue May 13, 2025 · 3 comments
Labels
bug Undesired behavior caused by this plugin

Comments

@lx0n2acl
Copy link

lx0n2acl commented May 13, 2025

Please fill out these Check-boxes

  • I checked for existing similar issues
  • I checked that the plugin is up to date
  • The issue persists with all other plugins and themes disabled

Plugin Version

1.4.1

This Issue Occurs on

  • Windows
  • Linux
  • macOS
  • Android
  • iOS

Debug Info

None

Describe the Issue

Newlines are not preserved by an embed

Steps to Reproduce

Here is my embed:

```meta-bind-embed
[[note]]
```

Here is my note

markdown
.
.
.

INPUT[textArea(placeholder(What is the desired outcome for this project?)):goal]

.
.
.
.
markdown

RESULT:
markdown

INPUT[textArea(placeholder(What is the desired outcome for this project?)):goal]

markdown

(.) character here represents newlines

Expected Behavior

I expect the newlines to be preserved

@lx0n2acl lx0n2acl added the bug Undesired behavior caused by this plugin label May 13, 2025
@mProjectsCode
Copy link
Owner

The meta bind embed renders markdown the same way as Obsidians reading mode. This behavior is expected and markdown spec compliant.

@lx0n2acl
Copy link
Author

The meta bind embed renders markdown the same way as Obsidians reading mode. This behavior is expected and markdown spec compliant.

Thanks for the amazing plugin and the prompt response.

Do you know of a workaround by any chance?

@lx0n2acl
Copy link
Author

Nevermind, just answered my own question: in case anybody is wondering, one workaround is to put a <br> where you want whitespace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behavior caused by this plugin
Projects
None yet
Development

No branches or pull requests

2 participants