I'm writing out to HTML but then copying the text and pasting into MS Teams. So, I would like the check boxes to be ASCII instead of HTML inputs.
I'm using pandoc version 2.10 on Windows.
This is what I think I should be doing. But it doesn't seem to work:
echo - [ ] Yep | pandoc --ascii -f MARKDOWN -t HTML
The above was done with the terminal cmder. I tried it with Powershell 7 like below and it still gives the incorrect result:
echo "- [ ] Yep" | pandoc --ascii -f MARKDOWN -t HTML
Returns:
<ul class="task-list">
<li><input type="checkbox" disabled="" />
Yep</li>
</ul>
But I'm expecting:
<ul class="task-list">
<li>☐ Yep</li>
</ul>