Open hagenburger opened 6 years ago
This command will change the title of the document.
<?title string ?>
test.md:
test.md
<?title My document title ?> # First headline Text
Rendered result (when test.md gets rendered as document):
<html> <head> <title>My document title</title> </head> <body> <h1>First headline</h1> <p>Text</p> </body> </html>
Info: The example above is a bit shortened. The important part: The <title> gets the right content.
<title>
By default the content of the first headline becomes the title. This should not happen, when the title command gets used:
title
<html> <head> <title>First headline</title> </head> <body> <h1>Main Markdown file</h1> <p>Text</p> </body> </html>
#17 New command: title
New feature
This command will change the title of the document.
Specifications
Example usage
test.md
:Rendered result (when
test.md
gets rendered as document):Info: The example above is a bit shortened. The important part: The
<title>
gets the right content.Unwanted
By default the content of the first headline becomes the title. This should not happen, when the
title
command gets used: