Display HTML and Markdown
Display HTML
Use await div('')
to display HTML.
Open display-html in Script Kit
Display HTML with CSS
Script Kit bundles Tailwind CSS.
Open display-html-with-css in Script Kit
Display Markdown
The md()
function will convert Markdown to HTML into HTML that you can pass into div. It will also add the default Tailwind styles so you won't have to think about formatting.
Open display-markdown in Script Kit