A CSS file to better style a zero-dependency details/summary plugin to expand and show source code.
Available on npm.
npm install pommel-source
<link rel="stylesheet" href="pommel-source.css">
<details class="pommel-source" open>
<summary>Embed</summary>
<pre>* { box-sizing: border-box; }</pre>
</details>
<!-- include Prism theme -->
<link rel="stylesheet" href="prism-theme.css">
<link rel="stylesheet" href="pommel-source.css">
<details class="pommel-source" open>
<summary>Embed</summary>
{%- highlight css %}
* { box-sizing: border-box; }
{%- endhighlight %}
</details>