aboutsummaryrefslogtreecommitdiff
path: root/src/development
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-06-04 19:12:36 -0300
committerEuAndreh <eu@euandre.org>2022-06-04 19:12:36 -0300
commit0ac6cdd807cfcde0fd0c54a9ca7b827d3b0ee620 (patch)
tree17102d25e8b78a9c67f21595c5808b6118601d9c /src/development
parentMakefile: Fold $(favicons) variable into $(derived-assets) (diff)
downloadeuandre.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')
-rwxr-xr-xsrc/development/md2html.pl9
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;