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

change, to consume only a single line in Obsidian #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mkiessling89
Copy link

Hi,
your plug-in is really great!

The only thing that bothered me, was that multiple lines in Obsidian are consumed.
The is not so ideal and handy, if you need to work with the link later and move it around.
So, I simply changed it, to remove all the line breaks in the replacement text, turning it into a single line of code.
On the downturn, more difficult to read, but if needed, the snippet could be beautified via online tool.
But on the upturn, the moving around the item is now much simpler.

Thank you! Please consider getting my change into your main branch and publish it with your next release.

Kind Regards
Michael Kiessling

@webtechlabs
Copy link

I second this. Moving links around there is a lot less chance of missing part of the HTML block if it is just a single line.

Perhaps even a simple plugin setting for it. If enabled, it'll be too easy to strip out \t\r\n before output.

Great plugin by the way. Much better than the only other alternative plugin I see that uses iframes (a little too much for what I needed it for). Thanks in advance.

@dhamaniasad
Copy link
Owner

Hey folks, will review this shortly, sorry for the wait

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

Successfully merging this pull request may close these issues.

3 participants