

#MARKDOWN FORMATTING CODE#
Markdown automatically joins elements such as text, list items, and code blocks, if there are no different types of elements between them. **Everyone _must_ attend the meeting at ~~5 o'clock~~ 6 o'clock today.**Įveryone must attend the meeting at 5 o'clock 6 o'clock today. HTML Tags: ( | ), ( | ), Markdown: *This text will be italic* You may also use text formatting characters within text which is being formatted in another way (such as creating italic text within a block of bold text), by simply using the appropriate formatting characters on a portion of the enclosed text.

To create text which is both bold and italic, surround the text with triple asterisks ( ***).To create strikethrough text, surround the text with double tildes ( ~~).To create italic text, surround the text with single asterisks ( *) or single underscores ( _).To create bold text, surround the text with double asterisks ( **).HTML Tags: Markdown: In the words of Abraham Lincoln: To create a blockquote, place a greater than symbol ( >) at the beginning of a line. The largest heading (an tag) The second largest heading (an tag) The number of hash marks you use will determine the size of the heading. To create a heading, add one or more has marks ( #) at the beginning of a line, before your heading text. On July 2, an alien mothership entered Earth's orbit and deployed several dozen saucer-shaped “destroyer” spacecraft, each 15 miles (24 km) wide. On July 3, the Black Knights, a squadron of Marine Corps F/A-18 Hornets, participated in an assault on a destroyer near the city of Los Angeles. HTML Tags: Markdown: On July 2, an alien mothership entered Earth's orbit and deployed several dozen saucer-shaped "destroyer" spacecraft, each 15 miles (24 km) wide. Note: If you don't leave a blank line between blocks of text, they will be collapsed into a single paragraph. To create paragraphs in Markdown, use one or more lines of consecutive text followed by one or more blank lines. Each includes a description, the equivalent HTML tags, and an example which displays both the Markdown formatted text and how the text will be displayed. The following are some of the most common types of formatting used in HTML documents. If you wish to use Velocity code within your document, you can not specify your document format as Markdown. Important: You can not use Velocity code anywhere within your Markdown-formatted document. This allows you to use Markdown for the majority of your formatting, but also use HTML tags for more advanced formatting which Markdown and Velocity

When you create a document in dotCMS that uses Markdown, the document will also recognize all HTML tags. Please see Mixing Markdown with HTML, below. However you can still use HTML formatting with specific styling within a Markdown document. Other than the formatting characters supplied by Markdown, can't apply specific styles to individual text elements within a markdown-formatted block of text. When you use Markdown in dotCMS, dotCMS automatically applies standard styling to your Markdown-formatted text based on a pre-defined style sheet that ships with dotCMS. Note that most markdown formatting does not require a closing tag or character. Markdown tags use simple characters and text conventions to allow the most common types of HTML formatting, without using HTML tags. This list of examples was taken from, which has popularized markdown to the point that it has become a defacto web standard. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, which then converts to valid HTML for viewing on dotCMS. This document describes the most commonly used markdown features using this syntax. The dotCMS Markdown Viewtool uses Github-flavored Markdown syntax.
