/markdown2html.bash

Convert markdown to HTML with pure BASH

Primary LanguageShellGNU Affero General Public License v3.0AGPL-3.0

markdown2html.bash

!!  PROJECT UNDER CONSTRUCTION  !!

Convert markdown to HTML with pure BASH

markdown2html.bash - <<'EOF'
# BASH Coding
How to print hello world:
```bash
#!/usr/bin/env bash
printf '%s\n' 'hello world'
```
EOF

stdout:

<h1>BASH Coding</h1>
<p>
How to print hello world:<br />
</p>
<pre><code class="language-bash">
#!/usr/bin/env bash
printf '%s\n' 'hello world'
</code></pre>

License

Licensed under GNU Affero General Public License v3. See LICENSE for details.