secure-77 / Perlite

A web-based markdown viewer optimized for Obsidian

Home Page:https://perlite.secure77.de/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Checkboxes in tables with <input type='checkbox' />

Waayway opened this issue · comments

I am using this for DnD and need checkmarks in a table. i found this sort of stupid way by using html and now thats how i do it everywhere.
These checkmarks don't get rendered properly and just get displayed as text which is not correct.

I dont know how i would fix this since in obsidian you cannot use simple [ ] and [ x ] syntax

commented

Same issue if you use :

<mark> my important text </mark> witch does not render correctly
or
<span>&#11088;&#11088;&#11088;</span> witch sould show 3 stars ⭐⭐⭐

commented

If you want to use raw html you need to disable the save mode in the content.php

 $Parsedown->setSafeMode(false);

commented

Thank you !
$Parsedown->setSafeMode(false); is working 👍

I still have problems showing Special Characters in HTML. It may be because of & sign

⭐⭐⭐ witch sould show 3 stars ⭐⭐⭐