Created
February 24, 2023 07:08
-
-
Save pietroppeter/73cd18185adf94f08bb11d096590cca3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import markdown | |
import std / strutils | |
echo markdown(""" | |
```nim | |
echo "hello" | |
```* | |
""".replace('*', ' '), config=initGfmConfig()) | |
#[ | |
<pre><code class="language-nim">echo "hello" | |
``` | |
</code></pre> | |
]# | |
echo markdown(""" | |
```nim | |
echo "hello" | |
``` | |
""", config=initGfmConfig()) | |
#[ | |
<pre><code class="language-nim">echo "hello" | |
</code></pre> | |
]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment