#!/usr/bin/perl # extract and decode markdown content from HTML source use warnings; use strict; use Path::Tiny; my $infile = shift; my $outfile = shift || $infile; $_ = path($infile)->slurp_utf8; s!.*?