Steps to reproduce
- Create a wiki markup language code block, e.g.
```wiki
== Heading 2 ==
'''bold'''
```
- See that it doesn’t have syntax highlight in live preview mode.
Did you follow the troubleshooting guide? [Y/N]
Yes, tested in sandbox vault.
Expected result
To see wiki code with syntax highlight, as it’s supported by Prism.js.
Actual result
No syntax highlight.
Environment (of sandbox)
SYSTEM INFO:
Obsidian version: v1.7.4
Installer version: v1.5.3
Operating system: Windows 10 Enterprise 10.0.19045
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
screenshot of live edit mode in sandbox vault:
In my main vault, when I checked out the same code block in reading mode, I got the following dataview error; not sure if it’s relevant to the issue, or something else caused by plugin conflict (it doesn’t show up in the sandbox vault) :
Dataview (inline field '= Heading 2 ==
'''bold''''): Error:
-- PARSING FAILED --------------------------------------------------
> 1 | = Heading 2 ==
| ^
2 | '''bold'''
Expected one of the following:
'(', 'null', boolean, date, duration, file link, list ('[1, 2, 3]'), negated field, number, object ('{ a: 1, b: 2 }'), string, variable