JSFiddle - React, Tailwind, and code Playground

HTML

Interesting scientific content...
<p>
    <blockquote><code>Many<br>lines<br>of</br>boring</br>code</code>

    </blockquote>
</p>...more scientific content

JavaScript

$(document).ready(function () {
    $('blockquote').css('display', 'none');
    $('blockquote').before('<a class="answer" href="#" style="color:orange">[show code]</a>');
    $('a.answer').on('click', function (event) {
        $(this).next().show('fast');
        $(this).hide();
        event.preventDefault();
    });
});