diff --git a/Markdown.pl b/Markdown.pl index 92f3aa2..59e8b61 100755 --- a/Markdown.pl +++ b/Markdown.pl @@ -18,14 +18,15 @@ use warnings; use Encode; -use vars qw($COPYRIGHT $VERSION @ISA @EXPORT_OK); +use vars qw($COPYRIGHT $DATE $VERSION @ISA @EXPORT_OK); BEGIN {*COPYRIGHT = \"Copyright (C) 2004 John Gruber Copyright (C) 2015,2016,2017,2018,2019,2020,2021 Kyle J. McKay All rights reserved. "; -*VERSION = \"1.1.11-PRE" +*VERSION = \"1.1.11"; +*DATE = \"2021-03-05"; } use Exporter (); @@ -594,7 +595,7 @@ sub _main { _require_pod_usage; Pod::Usage::pod2usage(-verbose => 0, -exitval => 0)}, 'version|V' => sub { # Version info - print "\nThis is Markdown, version $VERSION.\n", $COPYRIGHT; + print "\nThis is Markdown, version $VERSION $DATE.\n", $COPYRIGHT; print "License is Modified BSD (aka 3-clause BSD) License\n"; print "\n"; exit 0}, @@ -5173,6 +5174,8 @@ Z<> See the F file for detailed release notes for this version. =over +=item Z<> 1.1.11 - 05 Mar 2021 + =item Z<> 1.1.10 - 08 Jul 2020 =item Z<> 1.1.9 - 15 Dec 2019 @@ -5237,6 +5240,8 @@ Z<> See the F file for detailed release notes for this version. =item mackylegmail.com +=item L + =back =head1 COPYRIGHT AND LICENSE diff --git a/README b/README index 37a942e..a5b4b1a 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ Markdown ======== -Version 1.1.10 +Version 1.1.11 John Gruber Kyle J. McKay @@ -163,16 +163,58 @@ Command-Line Use the `--html4tags` command-line switch to produce HTML output from a Unix-style command line. E.g.: - % perl Markdown.pl --html4tags foo.txt + $ perl Markdown.pl --html4tags foo.txt Type `perldoc Markdown.pl`, or read the POD documentation within the Markdown.pl source code for more information. +Viewing with w3m +~~~~~~~~~~~~~~~~ + +If w3m is available, a Markdown-formatted text file can be viewed like so +(change `README` to the actual name of the Markdown-formatted file to view): + + $ perl Markdown.pl --stub README | w3m -T text/html + + --------------- Version History --------------- +1.1.11 (05 Mar 2021): + +* new --strip-comments option + +* new --keep-abs option + +* new --raw-xml and --raw-html options + +* new --auto-number option for headers + +* new --div option to wrap output in `
...
` + +* convert named character entities to numeric by default + +* add XML comments section to syntax.md + +* detail API and ability to "use" Markdown module + +* support floating images and `
` + +* recognize wiki style image links + +* YAML front matter support + +* make -i/-r work on top-level raw html blocks + +* avoid accidentally creating nested `` elements + +* ignore junk on end of backticks-delimited code block start line + +* strip markup out of implicit anchors + + 1.1.10 (08 Jul 2020): * enhance --wiki "s" option operation