nhn / tui.editor

🍞📝 Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.

Home Page:http://ui.toast.com/tui-editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to write pure HTML in markdown format?

curiosport opened this issue · comments

I have a .css file that applies the styles I need in a post.
For example if I write this in tui.editor, my .css should give the style "great":

<div class="great">Hello World</div>

But I have run into the problem that the HTML code is interpreted as text by tui.editor, how do I tell tui.editor to let the browser render the HTML block and apply the corresponding styles?

I don't want to use HTML mode of tui.editor because it affects performance too much and for other reasons.