This script will allow you to use markdown formatting inside of HTML tags, as well as unblocking normally blocked HTML tags such as <details>.
If you are already using a page_template, add the following code to the bottom of it:
<noframes class="raw">{{{ paste.content }}}</noframes>
<script src="https://files.catbox.moe/ex032z.js"></script>
If you are not already using a page_template, you may use this one, based on the default page_template:
{{{ content }}}
{{{ edit_button }}}
{{{ config_button }}}
Pub: {{ pub_date }}
Edit: {{ edit_date }}
Owner: {{{ owner_button }}}
Views: {{ views }}
<noframes class="raw">{{{ paste.content }}}</noframes>
<script src="https://files.catbox.moe/ex032z.js"></script>