katdown

Un traducteur md -> html minimal en awk - retour accueil

git clone git://bebou.netlib.re/katdown
Log | Files | Refs | README |

commit 6b85157e0a54400201cc9ba425b37d87883e4a73
parent c8965936257573675d47ae169aaa5a45e19c95c0
Auteurice: Graham Marlow <graham@mgmarlow.com>
Date:   Sat,  2 Mar 2024 10:46:46 -0800

Make sure closing tags are always rendered

Diffstat:
Mawkdown.awk | 2+-
Mdocs/index.html | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/awkdown.awk b/awkdown.awk @@ -15,7 +15,7 @@ END { render(data[i]) # Catch any trailing unclosed tags - if (inq) render() + if (inquote || inul || inol || inpre) render() print "</body>" print "</html>" diff --git a/docs/index.html b/docs/index.html @@ -34,5 +34,6 @@ awk -f awkdown.awk README.md Deep in the human unconscious is a pervasive need for a logical universe that makes sense. But the real universe is always one step beyond logic. - Frank Herbert +</blockquote> </body> </html>