Open Mara-Li opened 1 year ago
I get this too, in my case on a header with a Pandoc-style ID attribute:
#### my header{#foobar .foobar}
If you create a header like that in the editor, then you don't get an exception, but the .foobar
style still doesn't work in preview.
I think that
Apparently, this syntax was known long before this issue. It might be worth trying again, there were some changes expected in upstream (what "currently not allowed due to Obsidian tag" means?).
Now, because of the commented-out support for the #-syntax, this branch executes for
me and it causes an error in Obisidia, because #abs-ds
is an incorrect name for the attribute.
Uncommenting out the following line allows to get rid of the error and normally open pages containing headers with the set id, without applying changes the error described in the topic does not allows to open such files at all.
I think it's a fix in some sense (it's definitely better than it was), but clicking
on links with id ([link](#target)
) still not works.
Check for existing bug reports before submitting.
Expected Behavior
The file is displayed entirely.
Current behaviour
The file, after the
{#tbl:id1}
is cut, and I can't click and edit in Live Preview. The file can be edited in Source.In Reading, the file is cut in a lot of place and the file is not displayed properly.
VS Sandbox :
LOGS :
Reproduction
Copy and paste the text
![Caption description](image.png){#fig:img-1}
+@fig:img-1
Which Operating Systems are you using?
Obsidian Version Check
1.4.14
Plugin Version
1.2.2
Confirmation
Possible solution
No response