JSFiddle - React, Tailwind, and code Playground

by ryanttb

HTML

<P>output</P>

JavaScript

// fails with TypeError: $(...).shtml is not a function
//$("P").shtml('<!--#config timefmt="%A, %B %d, %Y" --> <!--#echo var="DATE_LOCAL" -->');

// no visible output in P, content is set to HTML comment and not parsed properly as SSI instructions
$("P").html('<!--#config timefmt="%A, %B %d, %Y" --> <!--#echo var="DATE_LOCAL" -->');