You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ORPA-pyOpenRPA/Wiki/_/Basic Syntax _ Markdown Gui...

1135 lines
63 KiB

<!DOCTYPE html>
<!-- saved from url=(0043)https://www.markdownguide.org/basic-syntax/ -->
<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">svg:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa{display:inline-block;font-size:inherit;height:1em;overflow:visible;vertical-align:-.125em}.svg-inline--fa.fa-lg{vertical-align:-.225em}.svg-inline--fa.fa-w-1{width:.0625em}.svg-inline--fa.fa-w-2{width:.125em}.svg-inline--fa.fa-w-3{width:.1875em}.svg-inline--fa.fa-w-4{width:.25em}.svg-inline--fa.fa-w-5{width:.3125em}.svg-inline--fa.fa-w-6{width:.375em}.svg-inline--fa.fa-w-7{width:.4375em}.svg-inline--fa.fa-w-8{width:.5em}.svg-inline--fa.fa-w-9{width:.5625em}.svg-inline--fa.fa-w-10{width:.625em}.svg-inline--fa.fa-w-11{width:.6875em}.svg-inline--fa.fa-w-12{width:.75em}.svg-inline--fa.fa-w-13{width:.8125em}.svg-inline--fa.fa-w-14{width:.875em}.svg-inline--fa.fa-w-15{width:.9375em}.svg-inline--fa.fa-w-16{width:1em}.svg-inline--fa.fa-w-17{width:1.0625em}.svg-inline--fa.fa-w-18{width:1.125em}.svg-inline--fa.fa-w-19{width:1.1875em}.svg-inline--fa.fa-w-20{width:1.25em}.svg-inline--fa.fa-pull-left{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right{margin-left:.3em;width:auto}.svg-inline--fa.fa-border{height:1.5em}.svg-inline--fa.fa-li{width:2em}.svg-inline--fa.fa-fw{width:1.25em}.fa-layers svg.svg-inline--fa{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers svg.svg-inline--fa{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter,.fa-layers-text{display:inline-block;position:absolute;text-align:center}.fa-layers-text{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg{font-size:1.3333333333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:solid .08em #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:ro
<link rel="apple-touch-icon" sizes="180x180" href="https://www.markdownguide.org/assets/favicons/apple-touch-icon.png">
<link rel="mask-icon" href="https://www.markdownguide.org/assets/favicons/safari-pinned-tab.svg" color="#5bbad5">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Basic Syntax | Markdown Guide</title>
<meta name="description" content="The Markdown elements outlined in John Gruber&#39;s design document.">
<meta content="Matt Cone and contributors" name="author">
<meta name="keywords" content="Markdown, Markdown language, Markdown syntax, Markdown guide, Markdown cheatsheet, Markdown help, Markdown tutorial">
<meta name="twitter:card" content="summary">
<meta property="og:type" content="website">
<meta property="og:url" content="https://www.markdownguide.org/basic-syntax/">
<meta property="og:title" content="Basic Syntax | Markdown Guide">
<meta property="og:description" content="The Markdown elements outlined in John Gruber&#39;s design document.">
<meta property="og:image" content="https://www.markdownguide.org/assets/images/markdown-guide-og.jpg">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<style class="anchorjs"></style><link rel="stylesheet" href="./Basic Syntax _ Markdown Guide_files/2cc5944412d3c5855eb1f26f2dc9a339c6170fff.css">
<link rel="canonical" href="https://www.markdownguide.org/basic-syntax/">
<script src="./Basic Syntax _ Markdown Guide_files/2c5110a7ae8f1f020352b27cb55a6d475561dbe9.js.Без названия"></script>
<script defer="" src="./Basic Syntax _ Markdown Guide_files/1066bc339a3beded5f6c4279870b406c047460fe.js.Без названия"></script>
</head>
<body data-spy="scroll" data-target="#toc">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark mdg-nav">
<div class="container">
<a class="navbar-brand" href="https://www.markdownguide.org/" style="margin-top: 2px; margin-bottom: 3px">
<img src="./Basic Syntax _ Markdown Guide_files/markdown-mark-white.svg" height="23" class="d-inline-block align-top" alt="" style="margin-top: 4px; padding-right: 10px">
Markdown Guide
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup" style="margin-top: 2px">
<div class="navbar-nav">
<a class="nav-item nav-link " href="https://www.markdownguide.org/getting-started">Get Started</a>
<a class="nav-item nav-link " href="https://www.markdownguide.org/cheat-sheet">Cheat Sheet</a>
<a class="nav-item nav-link active" href="https://www.markdownguide.org/basic-syntax">Basic Syntax</a>
<a class="nav-item nav-link " href="https://www.markdownguide.org/extended-syntax">Extended Syntax</a>
<a class="nav-item nav-link " href="https://www.markdownguide.org/book">Book</a>
</div>
</div>
<form class="form-inline d-none d-lg-inline-block mt-2 mt-md-0">
<span class="algolia-autocomplete" style="position: relative; display: inline-block; direction: ltr;"><input type="text" class="form-control ds-input" id="search-input" placeholder="Search" style="margin-top: 0px; position: relative; vertical-align: top;" autocomplete="off" spellcheck="false" role="combobox" aria-autocomplete="list" aria-expanded="false" aria-label="search input" aria-owns="algolia-autocomplete-listbox-0" dir="auto"><pre aria-hidden="true" style="position: absolute; visibility: hidden; white-space: pre; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, &quot;Noto Sans&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; word-spacing: 0px; letter-spacing: normal; text-indent: 0px; text-rendering: auto; text-transform: none;"></pre><span class="ds-dropdown-menu" role="listbox" id="algolia-autocomplete-listbox-0" style="position: absolute; top: 100%; z-index: 100; display: none; left: 0px; right: auto;"><div class="ds-dataset-1"></div></span></span>
</form>
</div>
</nav>
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
<div class="container">
<h1 class="no-anchor" data-toc-skip="" id="basic-syntax">Basic Syntax</h1>
<p>The Markdown elements outlined in John Gruber's design document.</p>
</div>
</div>
<div class="container">
<div class="row row-offcanvas row-offcanvas-right">
<div class="col-xs-12 col-sm-12 col-md-9">
<h2 id="overview">Overview<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#overview" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h2>
<p>Nearly all Markdown applications support the basic syntax outlined in John Grubers original design document. There are minor variations and discrepancies between Markdown processors — those are noted inline wherever possible.</p>
<div class="alert alert-info">
<svg class="svg-inline--fa fa-info-circle fa-w-16" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="info-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"></path></svg><!-- <i class="fas fa-info-circle"></i> --> <strong>Note:</strong> Using Markdown doesn't mean that you can't also use HTML. You can add HTML tags to any Markdown file. This is helpful if you prefer certain HTML tags to Markdown syntax. For example, some people find that it's easier to use HTML tags for images.
</div>
<h2 id="headings">Headings<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#headings" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h2>
<p>To create a heading, add number signs (<code class="highlighter-rouge">#</code>) in front of a word or phrase. The number of number signs you use should correspond to the heading level. For example, to create a heading level three (<code class="highlighter-rouge">&lt;h3&gt;</code>), use three number signs (e.g., <code class="highlighter-rouge">### My Header</code>).</p>
<table class="table table-bordered">
<thead class="thead-light">
<tr>
<th>Markdown</th>
<th>HTML</th>
<th>Rendered Output</th>
</tr>
</thead>
<tbody>
<tr>
<td><code class="highlighter-rouge"># Heading level 1</code></td>
<td><code class="highlighter-rouge">&lt;h1&gt;Heading level 1&lt;/h1&gt;</code></td>
<td><h1 class="no-anchor" data-toc-skip="" id="heading-level-1">Heading level 1</h1></td>
</tr>
<tr>
<td><code class="highlighter-rouge">## Heading level 2</code></td>
<td><code class="highlighter-rouge">&lt;h2&gt;Heading level 2&lt;/h2&gt;</code></td>
<td><h2 class="no-anchor" data-toc-skip="" id="heading-level-2">Heading level 2</h2></td>
</tr>
<tr>
<td><code class="highlighter-rouge">### Heading level 3</code></td>
<td><code class="highlighter-rouge">&lt;h3&gt;Heading level 3&lt;/h3&gt;</code></td>
<td><h3 class="no-anchor" data-toc-skip="" id="heading-level-3">Heading level 3</h3></td>
</tr>
<tr>
<td><code class="highlighter-rouge">#### Heading level 4</code></td>
<td><code class="highlighter-rouge">&lt;h4&gt;Heading level 4&lt;/h4&gt;</code></td>
<td><h4 class="no-anchor" id="heading-level-4">Heading level 4</h4></td>
</tr>
<tr>
<td><code class="highlighter-rouge">##### Heading level 5</code></td>
<td><code class="highlighter-rouge">&lt;h5&gt;Heading level 5&lt;/h5&gt;</code></td>
<td><h5 class="no-anchor" id="heading-level-5">Heading level 5</h5></td>
</tr>
<tr>
<td><code class="highlighter-rouge">###### Heading level 6</code></td>
<td><code class="highlighter-rouge">&lt;h6&gt;Heading level 6&lt;/h6&gt;</code></td>
<td><h6 class="no-anchor">Heading level 6</h6></td>
</tr>
</tbody>
</table>
<h3 id="alternate-syntax">Alternate Syntax<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#alternate-syntax" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<p>Alternatively, on the line below the text, add any number of <code class="highlighter-rouge">==</code> characters for heading level 1 or <code class="highlighter-rouge">--</code> characters for heading level 2.</p>
<table class="table table-bordered">
<thead class="thead-light">
<tr>
<th>Markdown</th>
<th>HTML</th>
<th>Rendered Output</th>
</tr>
</thead>
<tbody>
<tr>
<td><code class="highlighter-rouge">Heading level 1<br>===============</code></td>
<td><code class="highlighter-rouge">&lt;h1&gt;Heading level 1&lt;/h1&gt;</code></td>
<td><h1 class="no-anchor" data-toc-skip="" id="heading-level-1-1">Heading level 1</h1></td>
</tr>
<tr>
<td><code class="highlighter-rouge">Heading level 2<br>---------------</code></td>
<td><code class="highlighter-rouge">&lt;h2&gt;Heading level 2&lt;/h2&gt;</code></td>
<td><h2 class="no-anchor" data-toc-skip="" id="heading-level-2-1">Heading level 2</h2></td>
</tr>
</tbody>
</table>
<h2 id="paragraphs-1">Paragraphs<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#paragraphs-1" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h2>
<p>To create paragraphs, use a blank line to separate one or more lines of text. You should not indent paragraphs with spaces or tabs.</p>
<table class="table table-bordered">
<thead class="thead-light">
<tr>
<th>Markdown</th>
<th>HTML</th>
<th>Rendered Output</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<code class="highlighter-rouge">
I really like using Markdown.<br><br>
I think I'll use it to format all of my documents from now on.
</code>
</td>
<td>
<code class="highlighter-rouge">&lt;p&gt;I really like using Markdown.&lt;/p&gt;<br><br>
&lt;p&gt;I think I'll use it to format all of my documents from now on.&lt;/p&gt;</code>
</td>
<td>
<p>I really like using Markdown.</p>
<p>I think I'll use it to format all of my documents from now on.</p>
</td>
</tr>
</tbody>
</table>
<h2 id="line-breaks">Line Breaks<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#line-breaks" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h2>
<p>To create a line break (<code class="highlighter-rouge">&lt;br&gt;</code>), end a line with two or more spaces, and then type return.</p>
<table class="table table-bordered">
<thead class="thead-light">
<tr>
<th>Markdown</th>
<th>HTML</th>
<th>Rendered Output</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<code class="highlighter-rouge">
This is the first line. &nbsp;<br>
And this is the second line.
</code>
</td>
<td>
<code class="highlighter-rouge">&lt;p&gt;This is the first line.&lt;br&gt;<br>
And this is the second line.&lt;/p&gt;</code>
</td>
<td>
<p>This is the first line.<br>
And this is the second line.</p>
</td>
</tr>
</tbody>
</table>
<h2 id="emphasis">Emphasis<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#emphasis" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h2>
<p>You can add emphasis by making text bold or italic.</p>
<h3 id="bold">Bold<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#bold" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<p>To bold text, add two asterisks or underscores before and after a word or phrase. To bold the middle of a word for emphasis, add two asterisks without spaces around the letters.</p>
<table class="table table-bordered">
<thead class="thead-light">
<tr>
<th>Markdown</th>
<th>HTML</th>
<th>Rendered Output</th>
</tr>
</thead>
<tbody>
<tr>
<td><code class="highlighter-rouge">I just love **bold text**.</code></td>
<td><code class="highlighter-rouge">I just love &lt;strong&gt;bold text&lt;/strong&gt;.</code></td>
<td>I just love <strong>bold text</strong>.</td>
</tr>
<tr>
<td><code class="highlighter-rouge">I just love __bold text__.</code></td>
<td><code class="highlighter-rouge">I just love &lt;strong&gt;bold text&lt;/strong&gt;.</code></td>
<td>I just love <strong>bold text</strong>.</td>
</tr>
<tr>
<td><code class="highlighter-rouge">Love**is**bold</code></td> <td><code class="highlighter-rouge">Love&lt;strong&gt;is&lt;/strong&gt;bold</code></td>
<td>Love<strong>is</strong>bold</td>
</tr>
</tbody>
</table>
<h3 id="italic">Italic<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#italic" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<p>To italicize text, add one asterisk or underscore before and after a word or phrase. To italicize the middle of a word for emphasis, add one asterisk without spaces around the letters.</p>
<table class="table table-bordered">
<thead class="thead-light">
<tr>
<th>Markdown</th>
<th>HTML</th>
<th>Rendered Output</th>
</tr>
</thead>
<tbody>
<tr>
<td><code class="highlighter-rouge">Italicized text is the *cat's meow*.</code></td>
<td><code class="highlighter-rouge">Italicized text is the &lt;em&gt;cat's meow&lt;/em&gt;.</code></td>
<td>Italicized text is the <em>cats meow</em>.</td>
</tr>
<tr>
<td><code class="highlighter-rouge">Italicized text is the _cat's meow_.</code></td>
<td><code class="highlighter-rouge">Italicized text is the &lt;em&gt;cat's meow&lt;/em&gt;.</code></td>
<td>Italicized text is the <em>cats meow</em>.</td>
</tr>
<tr>
<td><code class="highlighter-rouge">A*cat*meow</code></td>
<td><code class="highlighter-rouge">A&lt;em&gt;cat&lt;/em&gt;meow</code></td>
<td>A<em>cat</em>meow</td>
</tr>
</tbody>
</table>
<h3 id="bold-and-italic">Bold and Italic<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#bold-and-italic" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<p>To emphasize text with bold and italics at the same time, add three asterisks or underscores before and after a word or phrase.</p>
<table class="table table-bordered">
<thead class="thead-light">
<tr>
<th>Markdown</th>
<th>HTML</th>
<th>Rendered Output</th>
</tr>
</thead>
<tbody>
<tr>
<td><code class="highlighter-rouge">This text is ***really important***.</code></td>
<td><code class="highlighter-rouge">This text is &lt;strong&gt;&lt;em&gt;really important&lt;/em&gt;&lt;/strong&gt;.</code></td>
<td>This text is <strong><em>really important</em></strong>.</td>
</tr>
<tr>
<td><code class="highlighter-rouge">This text is ___really important___.</code></td>
<td><code class="highlighter-rouge">This text is &lt;strong&gt;&lt;em&gt;really important&lt;/em&gt;&lt;/strong&gt;.</code></td>
<td>This text is <strong><em>really important</em></strong>.</td>
</tr>
<tr>
<td><code class="highlighter-rouge">This text is __*really important*__.</code></td>
<td><code class="highlighter-rouge">This text is &lt;strong&gt;&lt;em&gt;really important&lt;/em&gt;&lt;/strong&gt;.</code></td>
<td>This text is <strong><em>really important</em></strong>.</td>
</tr>
<tr>
<td><code class="highlighter-rouge">This text is **_really important_**.</code></td>
<td><code class="highlighter-rouge">This text is &lt;strong&gt;&lt;em&gt;really important&lt;/em&gt;&lt;/strong&gt;.</code></td>
<td>This text is <strong><em>really important</em></strong>.</td>
</tr>
</tbody>
</table>
<h2 id="blockquotes-1">Blockquotes<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#blockquotes-1" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h2>
<p>To create a blockquote, add a <code class="highlighter-rouge">&gt;</code> in front of a paragraph.</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&gt; Dorothy followed her through many of the beautiful rooms in her castle.
</code></pre></div></div>
<p>The rendered output looks like this:</p>
<blockquote>
<p>Dorothy followed her through many of the beautiful rooms in her castle.</p>
</blockquote>
<h3 id="blockquotes-with-multiple-paragraphs">Blockquotes with Multiple Paragraphs<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#blockquotes-with-multiple-paragraphs" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<p>Blockquotes can contain multiple paragraphs. Add a <code class="highlighter-rouge">&gt;</code> on the blank lines between the paragraphs.</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&gt; Dorothy followed her through many of the beautiful rooms in her castle.
&gt;
&gt; The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
</code></pre></div></div>
<p>The rendered output looks like this:</p>
<blockquote>
<p>Dorothy followed her through many of the beautiful rooms in her castle.</p>
<p>The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.</p>
</blockquote>
<h3 id="nested-blockquotes">Nested Blockquotes<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#nested-blockquotes" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<p>Blockquotes can be nested. Add a <code class="highlighter-rouge">&gt;&gt;</code> in front of the paragraph you want to nest.</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&gt; Dorothy followed her through many of the beautiful rooms in her castle.
&gt;
&gt;&gt; The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
</code></pre></div></div>
<p>The rendered output looks like this:</p>
<blockquote>
<p>Dorothy followed her through many of the beautiful rooms in her castle.</p>
<blockquote>
<p>The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.</p>
</blockquote>
</blockquote>
<h3 id="blockquotes-with-other-elements">Blockquotes with Other Elements<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#blockquotes-with-other-elements" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<p>Blockquotes can contain other Markdown formatted elements. Not all elements can be used — youll need to experiment to see which ones work.</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&gt; #### The quarterly results look great!
&gt;
&gt; - Revenue was off the chart.
&gt; - Profits were higher than ever.
&gt;
&gt; *Everything* is going according to **plan**.
</code></pre></div></div>
<p>The rendered output looks like this:</p>
<blockquote>
<h4 class="no-anchor" id="the-quarterly-results-look-great">The quarterly results look great!</h4>
<ul>
<li>Revenue was off the chart.</li>
<li>Profits were higher than ever.</li>
</ul>
<p><em>Everything</em> is going according to <strong>plan</strong>.</p>
</blockquote>
<h2 id="lists">Lists<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#lists" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h2>
<p>You can organize items into ordered and unordered lists.</p>
<h3 id="ordered-lists">Ordered Lists<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#ordered-lists" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<p>To create an ordered list, add line items with numbers followed by periods. The numbers dont have to be in numerical order, but the list should start with the number one.</p>
<table class="table table-bordered">
<thead class="thead-light">
<tr>
<th>Markdown</th>
<th>HTML</th>
<th>Rendered Output</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<code class="highlighter-rouge">
1. First item<br>
2. Second item<br>
3. Third item<br>
4. Fourth item
</code>
</td>
<td>
<code class="highlighter-rouge">
&lt;ol&gt;<br>
&lt;li&gt;First item&lt;/li&gt;<br>
&lt;li&gt;Second item&lt;/li&gt;<br>
&lt;li&gt;Third item&lt;/li&gt;<br>
&lt;li&gt;Fourth item&lt;/li&gt;<br>
&lt;/ol&gt;
</code>
</td>
<td>
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
<li>Fourth item</li>
</ol>
</td>
</tr>
<tr>
<td>
<code class="highlighter-rouge">
1. First item<br>
1. Second item<br>
1. Third item<br>
1. Fourth item
</code>
</td>
<td>
<code class="highlighter-rouge">
&lt;ol&gt;<br>
&lt;li&gt;First item&lt;/li&gt;<br>
&lt;li&gt;Second item&lt;/li&gt;<br>
&lt;li&gt;Third item&lt;/li&gt;<br>
&lt;li&gt;Fourth item&lt;/li&gt;<br>
&lt;/ol&gt;
</code>
</td>
<td>
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
<li>Fourth item</li>
</ol>
</td>
</tr>
<tr>
<td>
<code class="highlighter-rouge">
1. First item<br>
8. Second item<br>
3. Third item<br>
5. Fourth item
</code>
</td>
<td>
<code class="highlighter-rouge">
&lt;ol&gt;<br>
&lt;li&gt;First item&lt;/li&gt;<br>
&lt;li&gt;Second item&lt;/li&gt;<br>
&lt;li&gt;Third item&lt;/li&gt;<br>
&lt;li&gt;Fourth item&lt;/li&gt;<br>
&lt;/ol&gt;
</code>
</td>
<td>
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
<li>Fourth item</li>
</ol>
</td>
</tr>
<tr>
<td>
<code class="highlighter-rouge">
1. First item<br>
2. Second item<br>
3. Third item<br>
&nbsp;&nbsp;&nbsp;&nbsp;1. Indented item<br>
&nbsp;&nbsp;&nbsp;&nbsp;2. Indented item<br>
4. Fourth item
</code>
</td>
<td>
<code class="highlighter-rouge">
&lt;ol&gt;<br>
&lt;li&gt;First item&lt;/li&gt;<br>
&lt;li&gt;Second item&lt;/li&gt;<br>
&lt;li&gt;Third item<br>
&lt;ol&gt;<br>
&lt;li&gt;Indented item&lt;/li&gt;<br>
&lt;li&gt;Indented item&lt;/li&gt;<br>
&lt;/ol&gt;<br>
&lt;/li&gt;<br>
&lt;li&gt;Fourth item&lt;/li&gt;<br>
&lt;/ol&gt;
</code>
</td>
<td>
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item
<ol>
<li>Indented item</li>
<li>Indented item</li>
</ol>
</li>
<li>Fourth item</li>
</ol>
</td>
</tr>
</tbody>
</table>
<h3 id="unordered-lists">Unordered Lists<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#unordered-lists" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<p>To create an unordered list, add dashes (<code class="highlighter-rouge">-</code>), asterisks (<code class="highlighter-rouge">*</code>), or plus signs (<code class="highlighter-rouge">+</code>) in front of line items. Indent one or more items to create a nested list.</p>
<table class="table table-bordered">
<thead class="thead-light">
<tr>
<th>Markdown</th>
<th>HTML</th>
<th>Rendered Output</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<code class="highlighter-rouge">
- First item<br>
- Second item<br>
- Third item<br>
- Fourth item
</code>
</td>
<td>
<code class="highlighter-rouge">
&lt;ul&gt;<br>
&lt;li&gt;First item&lt;/li&gt;<br>
&lt;li&gt;Second item&lt;/li&gt;<br>
&lt;li&gt;Third item&lt;/li&gt;<br>
&lt;li&gt;Fourth item&lt;/li&gt;<br>
&lt;/ul&gt;
</code>
</td>
<td>
<ul>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
<li>Fourth item</li>
</ul>
</td>
</tr>
<tr>
<td>
<code class="highlighter-rouge">
* First item<br>
* Second item<br>
* Third item<br>
* Fourth item
</code>
</td>
<td>
<code class="highlighter-rouge">
&lt;ul&gt;<br>
&lt;li&gt;First item&lt;/li&gt;<br>
&lt;li&gt;Second item&lt;/li&gt;<br>
&lt;li&gt;Third item&lt;/li&gt;<br>
&lt;li&gt;Fourth item&lt;/li&gt;<br>
&lt;/ul&gt;
</code>
</td>
<td>
<ul>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
<li>Fourth item</li>
</ul>
</td>
</tr>
<tr>
<td>
<code class="highlighter-rouge">
+ First item<br>
* Second item<br>
- Third item<br>
+ Fourth item
</code>
</td>
<td>
<code class="highlighter-rouge">
&lt;ul&gt;<br>
&lt;li&gt;First item&lt;/li&gt;<br>
&lt;li&gt;Second item&lt;/li&gt;<br>
&lt;li&gt;Third item&lt;/li&gt;<br>
&lt;li&gt;Fourth item&lt;/li&gt;<br>
&lt;/ul&gt;
</code>
</td>
<td>
<ul>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
<li>Fourth item</li>
</ul>
</td>
</tr>
<tr>
<td>
<code class="highlighter-rouge">
- First item<br>
- Second item<br>
- Third item<br>
&nbsp;&nbsp;&nbsp;&nbsp;- Indented item<br>
&nbsp;&nbsp;&nbsp;&nbsp;- Indented item<br>
- Fourth item
</code>
</td>
<td>
<code class="highlighter-rouge">
&lt;ul&gt;<br>
&lt;li&gt;First item&lt;/li&gt;<br>
&lt;li&gt;Second item&lt;/li&gt;<br>
&lt;li&gt;Third item<br>
&lt;ul&gt;<br>
&lt;li&gt;Indented item&lt;/li&gt;<br>
&lt;li&gt;Indented item&lt;/li&gt;<br>
&lt;/ul&gt;<br>
&lt;/li&gt;<br>
&lt;li&gt;Fourth item&lt;/li&gt;<br>
&lt;/ul&gt;
</code>
</td>
<td>
<ul>
<li>First item</li>
<li>Second item</li>
<li>Third item
<ul>
<li>Indented item</li>
<li>Indented item</li>
</ul>
</li>
<li>Fourth item</li>
</ul>
</td>
</tr>
</tbody>
</table>
<h3 id="adding-elements-in-lists">Adding Elements in Lists<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#adding-elements-in-lists" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<p>To add another element in a list while preserving the continuity of the list, indent the element four spaces or one tab, as shown in the following examples.</p>
<h4 id="paragraphs">Paragraphs<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#paragraphs" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h4>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>* This is the first list item.
* Here's the second list item.
I need to add another paragraph below the second list item.
* And here's the third list item.
</code></pre></div></div>
<p>The rendered output looks like this:</p>
<ul>
<li>This is the first list item.</li>
<li>
<p>Heres the second list item.</p>
<p>I need to add another paragraph below the second list item.</p>
</li>
<li>And heres the third list item.</li>
</ul>
<h4 id="blockquotes">Blockquotes<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#blockquotes" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h4>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>* This is the first list item.
* Here's the second list item.
&gt; A blockquote would look great below the second list item.
* And here's the third list item.
</code></pre></div></div>
<p>The rendered output looks like this:</p>
<ul>
<li>This is the first list item.</li>
<li>
<p>Heres the second list item.</p>
<blockquote>
<p>A blockquote would look great below the second list item.</p>
</blockquote>
</li>
<li>And heres the third list item.</li>
</ul>
<h4 id="code-blocks-1">Code Blocks<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#code-blocks-1" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h4>
<p><a href="https://www.markdownguide.org/basic-syntax/#code-blocks">Code blocks</a> are normally indented four spaces or one tab. When theyre in a list, indent them eight spaces or two tabs.</p>
<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>1. Open the file.
2. Find the following code block on line 21:
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Test&lt;/title&gt;
&lt;/head&gt;
3. Update the title to match the name of your website.
</code></pre></div></div>
<p>The rendered output looks like this:</p>
<ol>
<li>Open the file.</li>
<li>
<p>Find the following code block on line 21:</p>
<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Test&lt;/title&gt;
&lt;/head&gt;
</code></pre></div> </div>
</li>
<li>Update the title to match the name of your website.</li>
</ol>
<h4 id="images">Images<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#images" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h4>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>1. Open the file containing the Linux mascot.
2. Marvel at its beauty.
![Tux, the Linux mascot](/assets/images/tux.png)
3. Close the file.
</code></pre></div></div>
<p>The rendered output looks like this:</p>
<ol>
<li>Open the file containing the Linux mascot.</li>
<li>
<p>Marvel at its beauty.</p>
<p><img src="./Basic Syntax _ Markdown Guide_files/tux.png" alt="Tux, the Linux mascot"></p>
</li>
<li>Close the file.</li>
</ol>
<h2 id="code">Code<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#code" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h2>
<p>To denote a word or phrase as code, enclose it in tick marks (<code class="highlighter-rouge">`</code>).</p>
<table class="table table-bordered">
<thead class="thead-light">
<tr>
<th>Markdown</th>
<th>HTML</th>
<th>Rendered Output</th>
</tr>
</thead>
<tbody>
<tr>
<td><code class="highlighter-rouge">At the command prompt, type `nano`.</code></td>
<td><code class="highlighter-rouge">At the command prompt, type &lt;code&gt;nano&lt;/code&gt;. </code></td>
<td>At the command prompt, type <code class="highlighter-rouge">nano</code>.</td>
</tr>
</tbody>
</table>
<h3 id="escaping-tick-marks">Escaping Tick Marks<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#escaping-tick-marks" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<p>If the word or phrase you want to denote as code includes one or more tick marks, you can escape it by enclosing the word or phrase in double tick marks (<code>``</code>).</p>
<table class="table table-bordered">
<thead class="thead-light">
<tr>
<th>Markdown</th>
<th>HTML</th>
<th>Rendered Output</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>``Use `code` in your Markdown file.``</code></td>
<td><code class="highlighter-rouge">&lt;code&gt;Use `code` in your Markdown file.&lt;/code&gt;</code></td>
<td><code>Use `code` in your Markdown file.</code></td>
</tr>
</tbody>
</table>
<h3 id="code-blocks">Code Blocks<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#code-blocks" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<p>To create code blocks, indent every line of the block by at least four spaces or one tab.</p>
<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code> &lt;html&gt;
&lt;head&gt;
&lt;/head&gt;
&lt;/html&gt;
</code></pre></div></div>
<p>The rendered output looks like this:</p>
<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;html&gt;
&lt;head&gt;
&lt;/head&gt;
&lt;/html&gt;
</code></pre></div></div>
<div class="alert alert-info">
<svg class="svg-inline--fa fa-info-circle fa-w-16" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="info-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"></path></svg><!-- <i class="fas fa-info-circle"></i> --> <strong>Note:</strong> To create code blocks without indenting lines, use <a href="https://www.markdownguide.org/extended-syntax/#fenced-code-blocks">fenced code blocks</a>.
</div>
<h2 id="horizontal-rules">Horizontal Rules<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#horizontal-rules" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h2>
<p>To create a horizontal rule, use three or more asterisks (<code class="highlighter-rouge">***</code>), dashes (<code class="highlighter-rouge">---</code>), or underscores (<code class="highlighter-rouge">___</code>) on a line by themselves.</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>***
---
_________________
</code></pre></div></div>
<p>The rendered output of all three looks identical:</p>
<hr>
<h2 id="links">Links<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#links" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h2>
<p>To create a link, enclose the link text in brackets (e.g., <code class="highlighter-rouge">[Duck Duck Go]</code>) and then follow it immediately with the URL in parentheses (e.g., <code class="highlighter-rouge">(https://duckduckgo.com)</code>).</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>My favorite search engine is [Duck Duck Go](https://duckduckgo.com).
</code></pre></div></div>
<p>The rendered output looks like this:</p>
<p>My favorite search engine is <a href="https://duckduckgo.com/">Duck Duck Go</a>.</p>
<h3 id="adding-titles">Adding Titles<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#adding-titles" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<p>You can optionally add a title for a link. This will appear as a tooltip when the user hovers over the link. To add a title, enclose it in parentheses after the URL.</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>My favorite search engine is [Duck Duck Go](https://duckduckgo.com "The best search engine for privacy").
</code></pre></div></div>
<p>The rendered output looks like this:</p>
<p>My favorite search engine is <a href="https://duckduckgo.com/" title="The best search engine for privacy">Duck Duck Go</a>.</p>
<h3 id="urls-and-email-addresses">URLs and Email Addresses<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#urls-and-email-addresses" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<p>To quickly turn a URL or email address into a link, enclose it in angle brackets.</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;https://www.markdownguide.org&gt;
&lt;fake@example.com&gt;
</code></pre></div></div>
<p>The rendered output looks like this:</p>
<p><a href="https://www.markdownguide.org/">https://www.markdownguide.org</a><br>
<a href="mailto:fake@example.com">fake@example.com</a></p>
<h3 id="formatting-links">Formatting Links<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#formatting-links" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<p>To <a href="https://www.markdownguide.org/basic-syntax/#emphasis">emphasize</a> links, add asterisks before and after the brackets and parentheses.</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>I love supporting the **[EFF](https://eff.org)**.
This is the *[Markdown Guide](https://www.markdownguide.org)*.
</code></pre></div></div>
<p>The rendered output looks like this:</p>
<p>I love supporting the <strong><a href="https://eff.org/">EFF</a></strong>.<br>
This is the <em><a href="https://www.markdownguide.org/">Markdown Guide</a></em>.</p>
<h3 id="reference-style-links">Reference-style Links<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#reference-style-links" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<p>Reference-style links are a special kind of link that make URLs easier to display and read in Markdown. Reference-style links are constructed in two parts: the part you keep inline with your text and the part you store somewhere else in the file to keep the text easy to read.</p>
<h4 id="formatting-the-first-part-of-the-link">Formatting the First Part of the Link<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#formatting-the-first-part-of-the-link" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h4>
<p>The first part of a reference-style link is formatted with two sets of brackets. The first set of brackets surrounds the text that should appear linked. The second set of brackets displays a label used to point to the link youre storing elsewhere in your document.</p>
<p>Although not required, you can include a space between the first and second set of brackets. Also, the label in the second set of brackets is not case sensitive and can include letters, numbers, spaces, or punctuation.</p>
<p>This means the following example formats are all roughly equivalent for the first part of the link:</p>
<ul>
<li><code class="highlighter-rouge">[hobbit-hole][1]</code></li>
<li><code class="highlighter-rouge">[hobbit-hole] [1]</code></li>
<li><code class="highlighter-rouge">[hobbit-hole][a]</code></li>
<li><code class="highlighter-rouge">[hobbit-hole][A]</code></li>
</ul>
<h4 id="formatting-the-second-part-of-the-link">Formatting the Second Part of the Link<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#formatting-the-second-part-of-the-link" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h4>
<p>The second part of a reference-style link is formatted with the following attributes:</p>
<ol>
<li>The label, in brackets, followed immediately by a colon and at least one space (e.g., <code class="highlighter-rouge">[label]: </code>).</li>
<li>The URL for the link, which you can optionally enclose in angle brackets.</li>
<li>The optional title for the link, which you can enclose in double quotes, single quotes, or parentheses.</li>
</ol>
<p>This means the following example formats are all roughly equivalent for the second part of the link:</p>
<ul>
<li><code class="highlighter-rouge">[hobbit-hole]: https://en.wikipedia.org/wiki/Hobbit#Lifestyle</code></li>
<li><code class="highlighter-rouge">[hobbit-hole]: https://en.wikipedia.org/wiki/Hobbit#Lifestyle "Hobbit lifestyles"</code></li>
<li><code class="highlighter-rouge">[hobbit-hole]: https://en.wikipedia.org/wiki/Hobbit#Lifestyle 'Hobbit lifestyles'</code></li>
<li><code class="highlighter-rouge">[hobbit-hole]: https://en.wikipedia.org/wiki/Hobbit#Lifestyle (Hobbit lifestyles)</code></li>
<li><code class="highlighter-rouge">[hobbit-hole]: &lt;https://en.wikipedia.org/wiki/Hobbit#Lifestyle&gt; "Hobbit lifestyles"</code></li>
<li><code class="highlighter-rouge">[hobbit-hole]: &lt;https://en.wikipedia.org/wiki/Hobbit#Lifestyle&gt; 'Hobbit lifestyles'</code></li>
<li><code class="highlighter-rouge">[hobbit-hole]: &lt;https://en.wikipedia.org/wiki/Hobbit#Lifestyle&gt; (Hobbit lifestyles)</code></li>
</ul>
<p>You can place this second part of the link anywhere in your Markdown document. Some people place them immediately after the paragraph in which they appear while other people place them at the end of the document (like endnotes or footnotes).</p>
<h4 id="an-example-putting-the-parts-together">An Example Putting the Parts Together<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#an-example-putting-the-parts-together" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h4>
<p>Say you add a URL as a <a href="https://www.markdownguide.org/basic-syntax/#links">standard URL link</a> to a paragraph and it looks like this in Markdown:</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>In a hole in the ground there lived a hobbit. Not a nasty, dirty, wet hole, filled with the ends
of worms and an oozy smell, nor yet a dry, bare, sandy hole with nothing in it to sit down on or to
eat: it was a [hobbit-hole](https://en.wikipedia.org/wiki/Hobbit#Lifestyle "Hobbit lifestyles"), and that means comfort.
</code></pre></div></div>
<p>Though it may point to interesting additional information, the URL as displayed really doesnt add much to the existing raw text other than making it harder to read. To fix that, you could format the URL like this instead:</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>In a hole in the ground there lived a hobbit. Not a nasty, dirty, wet hole, filled with the ends
of worms and an oozy smell, nor yet a dry, bare, sandy hole with nothing in it to sit down on or to
eat: it was a [hobbit-hole][1], and that means comfort.
[1]: &lt;https://en.wikipedia.org/wiki/Hobbit#Lifestyle&gt; "Hobbit lifestyles"
</code></pre></div></div>
<p>In both instances above, the rendered output would be identical:</p>
<blockquote>
<p>In a hole in the ground there lived a hobbit. Not a nasty, dirty, wet hole, filled with the ends of worms and an oozy smell, nor yet a dry, bare, sandy hole with nothing in it to sit down on or to eat: it was a <a href="https://en.wikipedia.org/wiki/Hobbit#Lifestyle" title="Hobbit lifestyles">hobbit-hole</a>, and that means comfort.</p>
</blockquote>
<p>and the HTML for the link would be:</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;a href="https://en.wikipedia.org/wiki/Hobbit#Lifestyle" title="Hobbit lifestyles"&gt;hobbit-hole&lt;/a&gt;
</code></pre></div></div>
<h2 id="images-1">Images<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#images-1" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h2>
<p>To add an image, add an exclamation mark (<code class="highlighter-rouge">!</code>), followed by alt text in brackets, and the path or URL to the image asset in parentheses. You can optionally add a title after the URL in the parentheses.</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>![Philadelphia's Magic Gardens. This place was so cool!](/assets/images/philly-magic-gardens.jpg "Philadelphia's Magic Gardens")
</code></pre></div></div>
<p>The rendered output looks like this:</p>
<p><img src="./Basic Syntax _ Markdown Guide_files/philly-magic-garden.jpg" class="img-fluid" alt="Philadelphia&#39;s Magic Gardens. This place was so cool!" title="Philadelphia&#39;s Magic Gardens"></p>
<h3 id="linking-images">Linking Images<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#linking-images" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<p>To add a link to an image, enclose the Markdown for the image in brackets, and then add the link in parentheses.</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[![An old rock in the desert](/assets/images/shiprock.jpg "Shiprock, New Mexico by Beau Rogers")](https://www.flickr.com/photos/beaurogers/31833779864/in/photolist-Qv3rFw-34mt9F-a9Cmfy-5Ha3Zi-9msKdv-o3hgjr-hWpUte-4WMsJ1-KUQ8N-deshUb-vssBD-6CQci6-8AFCiD-zsJWT-nNfsgB-dPDwZJ-bn9JGn-5HtSXY-6CUhAL-a4UTXB-ugPum-KUPSo-fBLNm-6CUmpy-4WMsc9-8a7D3T-83KJev-6CQ2bK-nNusHJ-a78rQH-nw3NvT-7aq2qf-8wwBso-3nNceh-ugSKP-4mh4kh-bbeeqH-a7biME-q3PtTf-brFpgb-cg38zw-bXMZc-nJPELD-f58Lmo-bXMYG-bz8AAi-bxNtNT-bXMYi-bXMY6-bXMYv)
</code></pre></div></div>
<p>The rendered output looks like this:</p>
<p><a href="https://www.flickr.com/photos/beaurogers/31833779864/in/photolist-Qv3rFw-34mt9F-a9Cmfy-5Ha3Zi-9msKdv-o3hgjr-hWpUte-4WMsJ1-KUQ8N-deshUb-vssBD-6CQci6-8AFCiD-zsJWT-nNfsgB-dPDwZJ-bn9JGn-5HtSXY-6CUhAL-a4UTXB-ugPum-KUPSo-fBLNm-6CUmpy-4WMsc9-8a7D3T-83KJev-6CQ2bK-nNusHJ-a78rQH-nw3NvT-7aq2qf-8wwBso-3nNceh-ugSKP-4mh4kh-bbeeqH-a7biME-q3PtTf-brFpgb-cg38zw-bXMZc-nJPELD-f58Lmo-bXMYG-bz8AAi-bxNtNT-bXMYi-bXMY6-bXMYv" class="no-underline"><img src="./Basic Syntax _ Markdown Guide_files/shiprock.jpg" class="img-fluid" alt="An old rock in the desert" title="Shiprock, New Mexico by Beau Rogers"></a></p>
<h2 id="escaping-characters">Escaping Characters<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#escaping-characters" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h2>
<p>To display a literal character that would otherwise be used to format text in a Markdown document, add a backslash (<code class="highlighter-rouge">\</code>) in front of the character.</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>\* Without the backslash, this would be a bullet in an unordered list.
</code></pre></div></div>
<p>The rendered output looks like this:</p>
<p>* Without the backslash, this would be a bullet in an unordered list.</p>
<h3 id="characters-you-can-escape">Characters You Can Escape<a class="anchorjs-link " aria-label="Anchor" data-anchorjs-icon="" href="https://www.markdownguide.org/basic-syntax/#characters-you-can-escape" style="font: 1em/1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<p>You can use a backslash to escape the following characters.</p>
<table class="table table-bordered">
<thead class="thead-light">
<tr>
<th>Character</th>
<th>Name</th>
</tr>
</thead>
<tbody>
<tr>
<td>\</td>
<td>backslash</td>
</tr>
<tr>
<td>`</td>
<td>tick mark (see also <a href="https://www.markdownguide.org/basic-syntax/#escaping-tick-marks">escaping tick marks in code</a>)</td>
</tr>
<tr>
<td>*</td>
<td>asterisk</td>
</tr>
<tr>
<td>_</td>
<td>underscore</td>
</tr>
<tr>
<td>{ }</td>
<td>curly braces</td>
</tr>
<tr>
<td>[ ]</td>
<td>brackets</td>
</tr>
<tr>
<td>( )</td>
<td>parentheses</td>
</tr>
<tr>
<td>#</td>
<td>pound sign</td>
</tr>
<tr>
<td>+</td>
<td>plus sign</td>
</tr>
<tr>
<td>-</td>
<td>minus sign (hyphen)</td>
</tr>
<tr>
<td>.</td>
<td>dot</td>
</tr>
<tr>
<td>!</td>
<td>exclamation mark</td>
</tr>
<tr>
<td>|</td>
<td>pipe (see also <a href="https://www.markdownguide.org/extended-syntax/#escaping-pipe-characters-in-tables">escaping pipe in tables</a>)</td>
</tr>
</tbody>
</table>
<div class="card border-info" style="margin-top: 50px">
<h6 class="card-header no-anchor bg-info text-white" data-toc-skip="">Want to learn more Markdown?</h6>
<div class="card-body">
<p class="card-text">
Don't stop now! 😎 Drop in to our <a href="https://join.slack.com/t/markdownguide/shared_invite/enQtNDA2Nzk2Mjc1NjA0LWM5ZTE1ZGZmOGVlMDM4OWExYTJhMWZiNTAzNWIyNjJmNDI2MWU5MDA5YWYwNjk0ZDliODQzZjEyNDNlMTU2NDY">Slack chat room</a> and star the <a href="https://github.com/mattcone/markdown-guide">GitHub repository</a>. If you liked this and want to receive new Markdown tutorials, enter your email address below. No spam, promise.</p>
<form action="https://tinyletter.com/markdownguide" method="post" target="popupwindow" onsubmit="window.open(&#39;https://tinyletter.com/markdownguide&#39;, &#39;popupwindow&#39;, &#39;scrollbars=yes,width=800,height=600&#39;);return true">
<div class="form-group" style="margin-top: 20px">
<input type="email" class="form-control form-control-lg" name="email" id="tlemail" placeholder="Your email address"><input type="hidden" value="1" name="embed">
</div>
<button type="submit" class="btn btn-success">Stay Updated</button>
</form>
</div>
</div>
</div>
<div class="col-md-3 d-none d-md-block" id="sidebar">
<nav id="toc" data-toggle="toc" class="sticky-top" style="z-index:1"><ul class="nav navbar-nav"><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#overview">Overview</a></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#headings">Headings</a><ul class="nav navbar-nav"><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#alternate-syntax">Alternate Syntax</a></li></ul></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#paragraphs-1">Paragraphs</a></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#line-breaks">Line Breaks</a></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#emphasis">Emphasis</a><ul class="nav navbar-nav"><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#bold">Bold</a></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#italic">Italic</a></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#bold-and-italic">Bold and Italic</a></li></ul></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#blockquotes-1">Blockquotes</a><ul class="nav navbar-nav"><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#blockquotes-with-multiple-paragraphs">Blockquotes with Multiple Paragraphs</a></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#nested-blockquotes">Nested Blockquotes</a></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#blockquotes-with-other-elements">Blockquotes with Other Elements</a></li></ul></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#lists">Lists</a><ul class="nav navbar-nav"><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#ordered-lists">Ordered Lists</a></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#unordered-lists">Unordered Lists</a></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#adding-elements-in-lists">Adding Elements in Lists</a></li></ul></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#code">Code</a><ul class="nav navbar-nav"><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#escaping-tick-marks">Escaping Tick Marks</a></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#code-blocks">Code Blocks</a></li></ul></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#horizontal-rules">Horizontal Rules</a></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#links">Links</a><ul class="nav navbar-nav"><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#adding-titles">Adding Titles</a></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#urls-and-email-addresses">URLs and Email Addresses</a></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#formatting-links">Formatting Links</a></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#reference-style-links">Reference-style Links</a></li></ul></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#images-1">Images</a><ul class="nav navbar-nav"><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#linking-images">Linking Images</a></li></ul></li><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#escaping-characters">Escaping Characters</a><ul class="nav navbar-nav"><li><a class="nav-link" href="https://www.markdownguide.org/basic-syntax/#characters-you-can-escape">Characters You Can Escape</a></li></ul></li></ul></nav>
</div>
</div>
</div>
<footer class="site-footer">
<div class="container">
<p style="font-size: 14px; font-weight: 600"><a href="https://www.markdownguide.org/about">About</a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://www.markdownguide.org/contact">Contact</a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://join.slack.com/t/markdownguide/shared_invite/enQtNDA2Nzk2Mjc1NjA0LWM5ZTE1ZGZmOGVlMDM4OWExYTJhMWZiNTAzNWIyNjJmNDI2MWU5MDA5YWYwNjk0ZDliODQzZjEyNDNlMTU2NDY">Slack</a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://github.com/mattcone/markdown-guide">GitHub</a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://www.markdownguide.org/api/v1">API</a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://app.termly.io/document/privacy-policy/1ca2b712-96e3-46bf-a8f1-d0035d389e7d">Privacy Policy</a></p>
<p style="margin-top: 15px; font-size: 14px;">© 2019. A <a href="http://mattcone.com/">Matt Cone</a> project. <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.</p>
</div>
</footer>
<script type="text/javascript" src="./Basic Syntax _ Markdown Guide_files/anchor.min.js.Без названия"></script>
<script>
anchors.options = {
placement: 'right',
};
anchors.add('h1, h2, h3, h4, h5').remove('.no-anchor');
</script>
<!-- for search -->
<script src="./Basic Syntax _ Markdown Guide_files/docsearch.min.js.Без названия"></script>
<script>
docsearch({
apiKey: '0125ba824e95b21d36ae268518067391',
indexName: 'markdownguide',
inputSelector: '#search-input',
debug: false // Set debug to true if you want to inspect the dropdown
});
</script>
</body></html>