From 0ac6cdd807cfcde0fd0c54a9ca7b827d3b0ee620 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 4 Jun 2022 19:12:36 -0300 Subject: src/development/md2html.pl: Setup initial Perl script using CommonMark module --- src/development/md2html.pl | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 src/development/md2html.pl (limited to 'src/development') diff --git a/src/development/md2html.pl b/src/development/md2html.pl new file mode 100755 index 0000000..e2f4cec --- /dev/null +++ b/src/development/md2html.pl @@ -0,0 +1,9 @@ +#!/usr/bin/env perl + +use v5.34; +use CommonMark; + +my $doc = CommonMark->parse( + string => "# xablau\n# xupliu", +); +say $doc->render_html; -- cgit v1.2.3