Closed anzhulin closed 1 year ago
I would really like to see this fixed, I'm running into the same issue
@J-MR-T and @anzhulin Are you both experiencing issues with this still?
At the moment, I have just accepted the old codeblock syntax as legacy code in my vault, but I'll test it again later today, thanks for your interest in solving this :).
Sorry, lost track of this, but now I've tested it, and the issue persists:
Original 'legacy' callout codeblock:
```ad-note
title: Definition: Example
1. A set: $\Omega=\set{\omega_1,\omega_2,\dots}$.
2. Every element $\omega_i$ gets a probability: $\Pr[\omega_i]$, we require $0\leq \Pr[\omega_i]\leq 1$ and
$$
\sum_{\omega\in\Omega}\Pr[\omega]=1
$$
\```
Rendered:
Converted:
> [!note] Definition: Example
> 1. A set: $\Omega=\set{\omega_1,\omega_2,\dots}$.
> 2. Every element $\omega_i$ gets a probability: $\Pr[\omega_i]$, we require $0\leq \Pr[\omega_i]\leq 1$ and
> $
> \sum_{\omega\in\Omega}\Pr[\omega]=1
> $
The $$ environment gets converted to a single $.
No problem on the delay and thank you! This is very helpful!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
When converting Code Block Admonitions to Callouts, equations embedded in $$...$$ split across multiple lines becomes $...$ and is then rendered incorrectly.
Code Block Admonition: Converted to Callout: