From b8ea4e24bf2c177f7c51861d1a33166f912082c5 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 12 Aug 2012 07:50:04 -0400 Subject: Support macro substitutions. --- (limited to 'scripts/MarkdownBook/Document') diff --git a/scripts/MarkdownBook/Document/Txt.pm b/scripts/MarkdownBook/Document/Txt.pm index 4f30d43..e03a1bb 100644 --- a/scripts/MarkdownBook/Document/Txt.pm +++ b/scripts/MarkdownBook/Document/Txt.pm @@ -33,7 +33,7 @@ sub output print($out_fh $self->{'title'} . "\n" . '*' x length($self->{'title'}) . "\n\n\n"); - print($out_fh $self->{'source_text'}); + print($out_fh $self->{'book'}->subst_macros($self->{'source_text'})); close($out_fh); } -- cgit v0.9.1