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

Whitespace after parameter values makes problems #27

Closed
metawops opened this issue Jul 21, 2022 · 3 comments
Closed

Whitespace after parameter values makes problems #27

metawops opened this issue Jul 21, 2022 · 3 comments

Comments

@metawops
Copy link

Just noticed this: if there is whitespace (in my case it was a few space characters) after a parameter value the parameter's functionality doesn't work at all.
Example: I had this and was wondering why it didn't work ...
Screenshot 2022-07-21 at 11 58 41

Turns out: there were spaces after right and both the two off values. I copy/pasted this example from some web page and apparently there were trailing spaces that were pasted.

So, a suggestion: when reading these parameter values strip possible whitespace from them before applying. 😉

@metawops
Copy link
Author

metawops commented Jul 21, 2022

In the screenshot another tiny problem can be seen in the preview (rendered markdown) pane: only the second headline still has the little hide/reveal triangle in front of it. The first headline doesn't have this. Why? How should it be, consistently? With or without these little black triangles? Can I influence it?
And, btw, clicking the one triangle here doesn't work; it does not hide the chapter below this headline (in the preview pane).
Well, maybe that's another issue of its own ...?!

@ckRobinson
Copy link
Owner

Just noticed this: if there is whitespace (in my case it was a few space characters) after a parameter value the parameter's functionality doesn't work at all. Example: I had this and was wondering why it didn't work ... Screenshot 2022-07-21 at 11 58 41

Turns out: there were spaces after right and both the two off values. I copy/pasted this example from some web page and apparently there were trailing spaces that were pasted.

So, a suggestion: when reading these parameter values strip possible whitespace from them before applying. 😉

Yup, not sure how that one has slipped by this long but its an easy fix to trim off the extra whitespace when parsing the settings.

In the screenshot another tiny problem can be seen in the preview (rendered markdown) pane: only the second headline still has the little hide/reveal triangle in front of it. The first headline doesn't have this. Why? How should it be, consistently? With or without these little black triangles? Can I influence it? And, btw, clicking the one triangle here doesn't work; it does not hide the chapter below this headline (in the preview pane). Well, maybe that's another issue of its own ...?!

Just looked into this and it looks like this is Obsidian theme specific as to when the "heading collapse arrows" are being added. And actually the arrow for the other heading is there in memory but is hidden behind the column. I should be able to make sure the arrows are always hidden though, because currently collapsing headings within the columns is not supported. Should be a quick fix.

@ckRobinson
Copy link
Owner

Both of these issues should now be solved in 0.7.0 :)

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

No branches or pull requests

2 participants