Open za3k opened 4 months ago
<ul> <li>strikethrough (~) <pre>hello</pre></li> <li>tables (|, |---|)</li> <li>task list (- [ ] or - [x])</li> </ul>
Should convert to:
* strikethrough (~)
hello ```
* strikethrough (~) ```hello``` * tables (|, |---|) * task list (- \[ \] or - \[x\])
or
* strikethrough (~) hello * tables (|, |---|) * task list (- \[ \] or - \[x\])
Depending on codeBlockStyle.
codeBlockStyle
Currently, it converts instead to:
OK, turns out the issue here is that it's a <pre></pre> block rather than a <pre><code></code></pre> block. I'd still like it to work but unsure if it should be moved into a plugin.
<pre></pre>
<pre><code></code></pre>
Should convert to:
or
Depending on
codeBlockStyle
.Currently, it converts instead to: