GitbookIO/kramed

How to make `markdown="1"` working?

Closed this issue · 1 comments

varya commented

What should be the option to make

<div markdown="1">

**test**

</div>

working?

@varya You would use jQuery to select those elements, something like this I guess :

$("[markdown='1']").each(function(el) {
    var $el = $(el);
    $el.html(kramed($el.text()));
});