Markdown File Example
Markdown is a scri p ting language that is very lightweight.
Markdown file example. This is a shortcut function for markdown class to cover the most basic use case. Link text url title title is optional. For example to create a heading level three h3 use three number signs e g my header.
The file should have an md or markdown extension. It initializes an instance of markdown loads the necessary extensions and runs the parser on the given text. Inline link format like this.
Here s a quick example of some pandoc markdown formatted text. An h1 header paragraphs are separated by a blank line. Add two spaces before the end of the line.
To create a heading add number signs in front of a word or phrase. In practice however almost every application including every web browser interprets it as italicized text. Use the markdown application to convert the markdown file to an html document.
First as the source you d put into your file then rendered as html. Markdown converts both text and text to the html emphasis or em tag which in theory can be interpreted in many ways. In this example you are going to see how to create a markdown file using this library.
Open the markdown file in a markdown application. For example you could build an app that interprets the emphasis tag as flashing red text. Italic bold and monospace.