When going from editing to read mode some code does not display correctly it shows the code instead of what was written.
Is this a bug or am I doing something wrong?
Type:: {“type”:“Multi”,“options”:{“valuesList”:{“1”:“Person”,“2”:“Company”},“sourceType”:“ValuesList”,“valuesListNotePath”:“”,“valuesFromDVQuery”:“”}}
Carriage returns/new line characters seem to be missing.
Try reading about this on other threads; e.g.:
Steps to reproduce
I click on the eyeglass icon, in the upper right of the document editing field, to enter the “reading” view
Expected result
In the reading view I expect to see text on a new line wherever there is a carriage return.
Actual result
I see text on the same line where there’s supposed to be a carriage return. The carriage return works properly in the edit view, but not in the “reading” aka “live” view.
Environment
Operating system: Windows 10
Debug info:
SYSTEM INFO:
Obsi…
holroy
March 21, 2023, 11:07pm
3
Could you please repost your text using four backticks surrounding the markdown text?
And is this an attempt to define an object in the body text, or do you just want to define the field Type
with a JSON string?
What do you intend to use this for, or is it just for presentational purposes?
Or put another way, what do you expect it to look like in editing and/or reading views?
Steps to reproduce
I type in the code then hit the read button and the code is still being displayed.
Type:: {“type”:“Multi”,“options”:{“valuesList”:{“1”:“Person”,“2”:“Company”},“sourceType”:“ValuesList”,“valuesListNotePath”:“”,“valuesFromDVQuery”:“”}}
Expected result
I expect to see a label Type and a multi select box for the values
Actual result
Environment
Windows 11
Additional information
No idea what you are talking about
holroy
March 21, 2023, 11:17pm
6
Why the double post? See the other post for question to get more information on what you’re really trying to achieve.
1 Like
I’m not entirely sure what you are attempting to do, but try putting all of that inside a codeblock by surrounding it with three backticks (```) at the top and three backticks on the bottom.
```
like this.
```
1 Like
That did not work.
It seems the read mode in Obsidian is not working 100%
holroy
March 22, 2023, 5:39pm
9
Could you please try to tell us what you want to achieve?
Is this for the Metadata Menu plug-in? Is for the Metabind plug-in?
system
Closed
June 20, 2023, 9:25pm
11
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.