From ec2f13dd1f92dc14f745a2805925f671516af96c Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Tue, 17 Nov 2020 17:21:14 -0700 Subject: [PATCH] Markdown.pl: mention source of for --stub The <title> value comes from the first markdown markup "h1" encountered or, if YAML processing is enabled, a "title" setting if present which always takes precedence. Signed-off-by: Kyle J. McKay <mackyle@gmail.com> --- Markdown.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Markdown.pl b/Markdown.pl index a62b5bf..69930ac 100755 --- a/Markdown.pl +++ b/Markdown.pl @@ -4337,6 +4337,11 @@ Wrap the output in a full document stub (i.e. has C<html>, C<head> and C<body> tags). The style sheet I<will> be included in the C<head> section unless the B<--no-stylesheet> option is also used. +The C<< <title> >> value for a document produced with the B<--stub> option +comes from the first markdown markup C<h1> that's generated unless YAML +processing has been enabled (the default) and a C<title> YAML value has +been set in which case that always takes precedence. + =item B<-h>, B<--help>