Zettlr
Zettlr copied to clipboard
The syntax highligh in tilde code block `~~~` is missed
Description
The syntax highlight in tilde code blocks ~~~ is missed:
```js
const results = []
while (checks.length) {
results.push(...await Promise.allSettled(
checks.splice(0, maxParallelChecks ?? checks.length).
map(({ name, login }) => login((emit, _, acc) => {
let props = []
```
~~~js
const results = []
while (checks.length) {
results.push(...await Promise.allSettled(
checks.splice(0, maxParallelChecks ?? checks.length).
map(({ name, login }) => login((emit, _, acc) => {
let props = []
~~~
Click to expand:

Reproducing
- Install the recent Zettlr 2.3.0
- Copy markdown above
- Observe the issue
- Think how to fix it and where the tilde code blocks
~~~are not specified for syntax highliting in Zettlr sources - Profit!
Zettlr Version
Stable (most recent version)
Specify version
2.3.0
Installation Method
From the Website or GitHub
Your Platform
- [X] Windows
- [ ] macOS
- [ ] Linux
Architecture
- [X] Intel 64bit
- [ ] ARM 64bit
Operating System Version
Windows 10
Additional Information
No response
That is to be expected due to a limitation in the multiplexer plugin. Will possibly work with the new CodeMirror iteration I'm currently working on.
Just double checked: Works in the current develop branch, i.e. will work in the upcoming betas and releases:
