Skip to content

Instantly share code, notes, and snippets.

@emanuel-th
Created February 27, 2024 09:26
Show Gist options
  • Save emanuel-th/8aa571c5576d2c75e9221cf761a94373 to your computer and use it in GitHub Desktop.
Save emanuel-th/8aa571c5576d2c75e9221cf761a94373 to your computer and use it in GitHub Desktop.
list-code.html
<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="generator" content="ReText 7.2.3">
<title>list-code</title>
</head>
<body>
<!-- Required extensions: pymdownx.superfences -->
<h1>Heading</h1>
<ol>
<li>
<p>some bash file</p>
<p>```</p>
<h1>!/bin/bash</h1>
<p>echo "Hello World!"
```</p>
</li>
<li>
<p>second headline</p>
</li>
</ol>
<p>Second list:</p>
<ol>
<li>some bash file</li>
</ol>
<pre><code> #!/bin/bash
echo &quot;Hello World!&quot;
</code></pre>
<ol>
<li>second headline</li>
</ol>
<h1>Part 2</h1>
<ol>
<li>
<p>some bash file</p>
<pre><code>#!/bin/bash
echo "Hello World!"
</code></pre>
</li>
<li>
<p>second headline</p>
</li>
</ol>
<p>Second list:</p>
<ol>
<li>
<p>some bash file</p>
<pre><code>#!/bin/bash
echo "Hello World!"
</code></pre>
</li>
<li>
<p>second headline</p>
</li>
</ol>
</body>
</html>
p, li { white-space: pre-wrap; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment