diff options
author | EuAndreh <eu@euandre.org> | 2022-06-04 19:12:36 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-06-04 19:12:36 -0300 |
commit | 0ac6cdd807cfcde0fd0c54a9ca7b827d3b0ee620 (patch) | |
tree | 17102d25e8b78a9c67f21595c5808b6118601d9c /src/development/md2html.pl | |
parent | Makefile: Fold $(favicons) variable into $(derived-assets) (diff) | |
download | euandre.org-0ac6cdd807cfcde0fd0c54a9ca7b827d3b0ee620.tar.gz euandre.org-0ac6cdd807cfcde0fd0c54a9ca7b827d3b0ee620.tar.xz |
src/development/md2html.pl: Setup initial Perl script using CommonMark module
Diffstat (limited to 'src/development/md2html.pl')
-rwxr-xr-x | src/development/md2html.pl | 9 |
1 files changed, 9 insertions, 0 deletions
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; |