<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Typora on yuqiuwen</title><link>https://yuqiuwen.github.io/tags/typora/</link><description>Recent content in Typora on yuqiuwen</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><lastBuildDate>Wed, 20 Jul 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://yuqiuwen.github.io/tags/typora/index.xml" rel="self" type="application/rss+xml"/><item><title>MarkDown Handbook</title><link>https://yuqiuwen.github.io/p/markdown-handbook/</link><pubDate>Wed, 20 Jul 2022 00:00:00 +0000</pubDate><guid>https://yuqiuwen.github.io/p/markdown-handbook/</guid><description>&lt;h1 id="markdown-for-typora"&gt;&lt;a href="#markdown-for-typora" class="header-anchor"&gt;&lt;/a&gt;Markdown For Typora&#10;&lt;/h1&gt;&lt;h2 id="overview"&gt;&lt;a href="#overview" class="header-anchor"&gt;&lt;/a&gt;Overview&#10;&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;Markdown&lt;/strong&gt; is created by &lt;a class="link" href="http://daringfireball.net/" target="_blank" rel="noopener"&#10; &gt;Daring Fireball&lt;/a&gt;; the original guideline is &lt;a class="link" href="http://daringfireball.net/projects/markdown/syntax" target="_blank" rel="noopener"&#10; &gt;here&lt;/a&gt;. Its syntax, however, varies between different parsers or editors. &lt;strong&gt;Typora&lt;/strong&gt; is using &lt;a class="link" href="https://help.github.com/articles/github-flavored-markdown/" target="_blank" rel="noopener"&#10; &gt;GitHub Flavored Markdown&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h2 id="block-elements"&gt;&lt;a href="#block-elements" class="header-anchor"&gt;&lt;/a&gt;Block Elements&#10;&lt;/h2&gt;&lt;h3 id="paragraph-and-line-breaks"&gt;&lt;a href="#paragraph-and-line-breaks" class="header-anchor"&gt;&lt;/a&gt;Paragraph and line breaks&#10;&lt;/h3&gt;&lt;p&gt;A paragraph is simply one or more consecutive lines of text. In markdown source code, paragraphs are separated by two or more blank lines. In Typora, you only need one blank line (press &lt;code&gt;Return&lt;/code&gt; once) to create a new paragraph.&lt;/p&gt;&#10;&lt;p&gt;Press &lt;code&gt;Shift&lt;/code&gt; + &lt;code&gt;Return&lt;/code&gt; to create a single line break. Most other markdown parsers will ignore single line breaks, so in order to make other markdown parsers recognize your line break, you can leave two spaces at the end of the line, or insert &lt;code&gt;&amp;lt;br/&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#10;&lt;h3 id="headers"&gt;&lt;a href="#headers" class="header-anchor"&gt;&lt;/a&gt;Headers&#10;&lt;/h3&gt;&lt;p&gt;Headers use 1-6 hash (&lt;code&gt;#&lt;/code&gt;) characters at the start of the line, corresponding to header levels 1-6. For example:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;span class="lnt"&gt;2&#10;&lt;/span&gt;&lt;span class="lnt"&gt;3&#10;&lt;/span&gt;&lt;span class="lnt"&gt;4&#10;&lt;/span&gt;&lt;span class="lnt"&gt;5&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="gh"&gt;# This is an H1&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="gu"&gt;## This is an H2&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="gu"&gt;###### This is an H6&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;In Typora, input ‘#’s followed by title content, and press &lt;code&gt;Return&lt;/code&gt; key will create a header.&lt;/p&gt;&#10;&lt;h3 id="blockquotes"&gt;&lt;a href="#blockquotes" class="header-anchor"&gt;&lt;/a&gt;Blockquotes&#10;&lt;/h3&gt;&lt;p&gt;Markdown uses email-style &amp;gt; characters for block quoting. They are presented as:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;span class="lnt"&gt;2&#10;&lt;/span&gt;&lt;span class="lnt"&gt;3&#10;&lt;/span&gt;&lt;span class="lnt"&gt;4&#10;&lt;/span&gt;&lt;span class="lnt"&gt;5&#10;&lt;/span&gt;&lt;span class="lnt"&gt;6&#10;&lt;/span&gt;&lt;span class="lnt"&gt;7&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;&amp;gt; &lt;/span&gt;&lt;span class="ge"&gt;This is a blockquote with two paragraphs. This is first paragraph.&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;&amp;gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="ge"&gt;&amp;gt; This is second pragraph. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;&amp;gt; &lt;/span&gt;&lt;span class="ge"&gt;This is another blockquote with one paragraph. There is three empty line to seperate two blockquote.&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;In Typora, inputting ‘&amp;gt;’ followed by your quote contents will generate a quote block. Typora will insert a proper ‘&amp;gt;’ or line break for you. Nested block quotes (a block quote inside another block quote) by adding additional levels of ‘&amp;gt;’.&lt;/p&gt;&#10;&lt;h3 id="lists"&gt;&lt;a href="#lists" class="header-anchor"&gt;&lt;/a&gt;Lists&#10;&lt;/h3&gt;&lt;p&gt;Input &lt;code&gt;* list item 1&lt;/code&gt; will create an unordered list - the &lt;code&gt;*&lt;/code&gt; symbol can be replace with &lt;code&gt;+&lt;/code&gt; or &lt;code&gt;-&lt;/code&gt;.&lt;/p&gt;&#10;&lt;p&gt;Input &lt;code&gt;1. list item 1&lt;/code&gt; will create an ordered list - their markdown source code is as follows:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;span class="lnt"&gt;2&#10;&lt;/span&gt;&lt;span class="lnt"&gt;3&#10;&lt;/span&gt;&lt;span class="lnt"&gt;4&#10;&lt;/span&gt;&lt;span class="lnt"&gt;5&#10;&lt;/span&gt;&lt;span class="lnt"&gt;6&#10;&lt;/span&gt;&lt;span class="lnt"&gt;7&#10;&lt;/span&gt;&lt;span class="lnt"&gt;8&#10;&lt;/span&gt;&lt;span class="lnt"&gt;9&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="gu"&gt;## un-ordered list&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;*&lt;/span&gt; Red&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;*&lt;/span&gt; Green&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;*&lt;/span&gt; Blue&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="gu"&gt;## ordered list&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;1.&lt;/span&gt; Red&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;2.&lt;/span&gt; &#9;Green&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;3.&#9;Blue&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;h3 id="task-list"&gt;&lt;a href="#task-list" class="header-anchor"&gt;&lt;/a&gt;Task List&#10;&lt;/h3&gt;&lt;p&gt;Task lists are lists with items marked as either [ ] or [x] (incomplete or complete). For example:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;span class="lnt"&gt;2&#10;&lt;/span&gt;&lt;span class="lnt"&gt;3&#10;&lt;/span&gt;&lt;span class="lnt"&gt;4&#10;&lt;/span&gt;&lt;span class="lnt"&gt;5&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;- [ ]&lt;/span&gt; a task list item&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;- [ ]&lt;/span&gt; list syntax required&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;- [ ]&lt;/span&gt; normal &lt;span class="gs"&gt;**formatting**&lt;/span&gt;, &lt;span class="ni"&gt;@mentions&lt;/span&gt;, &lt;span class="ni"&gt;#1234&lt;/span&gt; refs&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;- [ ]&lt;/span&gt; incomplete&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;- [x]&lt;/span&gt; completed&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;You can change the complete/incomplete state by clicking on the checkbox before the item.&lt;/p&gt;&#10;&lt;h3 id="fenced-code-blocks"&gt;&lt;a href="#fenced-code-blocks" class="header-anchor"&gt;&lt;/a&gt;(Fenced) Code Blocks&#10;&lt;/h3&gt;&lt;p&gt;Typora only supports fences in GitHub Flavored Markdown. Original code blocks in markdown are not supported.&lt;/p&gt;&#10;&lt;p&gt;Using fences is easy: Input ``` and press &lt;code&gt;return&lt;/code&gt;. Add an optional language identifier after ``` and we&amp;rsquo;ll run it through syntax highlighting:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt; 1&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 2&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 3&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 4&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 5&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 6&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 7&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 8&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 9&#10;&lt;/span&gt;&lt;span class="lnt"&gt;10&#10;&lt;/span&gt;&lt;span class="lnt"&gt;11&#10;&lt;/span&gt;&lt;span class="lnt"&gt;12&#10;&lt;/span&gt;&lt;span class="lnt"&gt;13&#10;&lt;/span&gt;&lt;span class="lnt"&gt;14&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Here&amp;#39;s an example:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;​``&lt;span class="sb"&gt;`&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="sb"&gt;function test() {&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="sb"&gt; console.log(&amp;#34;notice the blank line before this function?&amp;#34;);&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="sb"&gt;}&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="sb"&gt;​`&lt;/span&gt;`&lt;span class="sb"&gt;`&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="sb"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="sb"&gt;syntax highlighting:&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="sb"&gt;​`&lt;/span&gt;`&lt;span class="sb"&gt;`ruby&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="sb"&gt;require &amp;#39;redcarpet&amp;#39;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="sb"&gt;markdown = Redcarpet.new(&amp;#34;Hello World!&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="sb"&gt;puts markdown.to_html&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="sb"&gt;​`&lt;/span&gt;``&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;h3 id="math-blocks"&gt;&lt;a href="#math-blocks" class="header-anchor"&gt;&lt;/a&gt;Math Blocks&#10;&lt;/h3&gt;&lt;p&gt;You can render &lt;em&gt;LaTeX&lt;/em&gt; mathematical expressions using &lt;strong&gt;MathJax&lt;/strong&gt;.&lt;/p&gt;&#10;&lt;p&gt;To add a mathematical expression, input &lt;code&gt;$$&lt;/code&gt; and press the &amp;lsquo;Return&amp;rsquo; key. This will trigger an input field which accepts &lt;em&gt;Tex/LaTex&lt;/em&gt; source. For example:&lt;/p&gt;&#10;$$&#10;\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix}&#10;\mathbf{i} &amp; \mathbf{j} &amp; \mathbf{k} \\&#10;\frac{\partial X}{\partial u} &amp; \frac{\partial Y}{\partial u} &amp; 0 \\&#10;\frac{\partial X}{\partial v} &amp; \frac{\partial Y}{\partial v} &amp; 0 \\&#10;\end{vmatrix}&#10;$$&lt;p&gt;In the markdown source file, the math block is a &lt;em&gt;LaTeX&lt;/em&gt; expression wrapped by a pair of ‘$$’ marks:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;span class="lnt"&gt;2&#10;&lt;/span&gt;&lt;span class="lnt"&gt;3&#10;&lt;/span&gt;&lt;span class="lnt"&gt;4&#10;&lt;/span&gt;&lt;span class="lnt"&gt;5&#10;&lt;/span&gt;&lt;span class="lnt"&gt;6&#10;&lt;/span&gt;&lt;span class="lnt"&gt;7&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$$&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix}&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;\mathbf{i} &amp;amp; \mathbf{j} &amp;amp; \mathbf{k} \\&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;\frac{\partial X}{\partial u} &amp;amp; \frac{\partial Y}{\partial u} &amp;amp; 0 \\&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;\frac{\partial X}{\partial v} &amp;amp; \frac{\partial Y}{\partial v} &amp;amp; 0 \\&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;\end{vmatrix}&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$$&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;You can find more details &lt;a class="link" href="https://support.typora.io/Math/" target="_blank" rel="noopener"&#10; &gt;here&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h3 id="tables"&gt;&lt;a href="#tables" class="header-anchor"&gt;&lt;/a&gt;Tables&#10;&lt;/h3&gt;&lt;p&gt;Input &lt;code&gt;| First Header | Second Header |&lt;/code&gt; and press the &lt;code&gt;return&lt;/code&gt; key. This will create a table with two columns.&lt;/p&gt;&#10;&lt;p&gt;After a table is created, putting focus on that table will open up a toolbar for the table where you can resize, align, or delete the table. You can also use the context menu to copy and add/delete individual columns/rows.&lt;/p&gt;&#10;&lt;p&gt;The full syntax for tables is described below, but it is not necessary to know the full syntax in detail as the markdown source code for tables is generated automatically by Typora.&lt;/p&gt;&#10;&lt;p&gt;In markdown source code, they look like:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;span class="lnt"&gt;2&#10;&lt;/span&gt;&lt;span class="lnt"&gt;3&#10;&lt;/span&gt;&lt;span class="lnt"&gt;4&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;| First Header | Second Header |&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;| ------------- | ------------- |&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;| Content Cell | Content Cell |&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;| Content Cell | Content Cell |&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;You can also include inline Markdown such as links, bold, italics, or strikethrough in the table.&lt;/p&gt;&#10;&lt;p&gt;Finally, by including colons (&lt;code&gt;:&lt;/code&gt;) within the header row, you can define text in that column to be left-aligned, right-aligned, or center-aligned:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;span class="lnt"&gt;2&#10;&lt;/span&gt;&lt;span class="lnt"&gt;3&#10;&lt;/span&gt;&lt;span class="lnt"&gt;4&#10;&lt;/span&gt;&lt;span class="lnt"&gt;5&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;| Left-Aligned | Center Aligned | Right Aligned |&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;| :------------ |:---------------:| -----:|&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;| col 3 is | some wordy text | $1600 |&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;| col 2 is | centered | $12 |&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;| zebra stripes | are neat | $1 |&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;A colon on the left-most side indicates a left-aligned column; a colon on the right-most side indicates a right-aligned column; a colon on both sides indicates a center-aligned column.&lt;/p&gt;&#10;&lt;h3 id="footnotes"&gt;&lt;a href="#footnotes" class="header-anchor"&gt;&lt;/a&gt;Footnotes&#10;&lt;/h3&gt;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;span class="lnt"&gt;2&#10;&lt;/span&gt;&lt;span class="lnt"&gt;3&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;You can create footnotes like this[^footnote].&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[^footnote]: Here is the &lt;span class="ge"&gt;*text*&lt;/span&gt; of the &lt;span class="gs"&gt;**footnote**&lt;/span&gt;.&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;will produce:&lt;/p&gt;&#10;&lt;p&gt;You can create footnotes like this&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;&#10;&lt;p&gt;Hover over the ‘footnote’ superscript to see content of the footnote.&lt;/p&gt;&#10;&lt;h3 id="horizontal-rules"&gt;&lt;a href="#horizontal-rules" class="header-anchor"&gt;&lt;/a&gt;Horizontal Rules&#10;&lt;/h3&gt;&lt;p&gt;Inputting &lt;code&gt;***&lt;/code&gt; or &lt;code&gt;---&lt;/code&gt; on a blank line and pressing &lt;code&gt;return&lt;/code&gt; will draw a horizontal line.&lt;/p&gt;&#10;&lt;hr&gt;&#10;&lt;h3 id="yaml-front-matter"&gt;&lt;a href="#yaml-front-matter" class="header-anchor"&gt;&lt;/a&gt;YAML Front Matter&#10;&lt;/h3&gt;&lt;p&gt;Typora now supports &lt;a class="link" href="http://jekyllrb.com/docs/frontmatter/" target="_blank" rel="noopener"&#10; &gt;YAML Front Matter&lt;/a&gt;. Input &lt;code&gt;---&lt;/code&gt; at the top of the article and then press &lt;code&gt;Return&lt;/code&gt; to introduce a metadata block. Alternatively, you can insert a metadata block from the top menu of Typora.&lt;/p&gt;&#10;&lt;h3 id="table-of-contents-toc"&gt;&lt;a href="#table-of-contents-toc" class="header-anchor"&gt;&lt;/a&gt;Table of Contents (TOC)&#10;&lt;/h3&gt;&lt;p&gt;Input &lt;code&gt;[toc]&lt;/code&gt; and press the &lt;code&gt;Return&lt;/code&gt; key. This will create a “Table of Contents” section. The TOC extracts all headers from the document, and its contents are updated automatically as you add to the document.&lt;/p&gt;&#10;&lt;h2 id="span-elements"&gt;&lt;a href="#span-elements" class="header-anchor"&gt;&lt;/a&gt;Span Elements&#10;&lt;/h2&gt;&lt;p&gt;Span elements will be parsed and rendered right after typing. Moving the cursor in middle of those span elements will expand those elements into markdown source. Below is an explanation of the syntax for each span element.&lt;/p&gt;&#10;&lt;h3 id="links"&gt;&lt;a href="#links" class="header-anchor"&gt;&lt;/a&gt;Links&#10;&lt;/h3&gt;&lt;p&gt;Markdown supports two styles of links: inline and reference.&lt;/p&gt;&#10;&lt;p&gt;In both styles, the link text is delimited by [square brackets].&lt;/p&gt;&#10;&lt;p&gt;To create an inline link, use a set of regular parentheses immediately after the link text’s closing square bracket. Inside the parentheses, put the URL where you want the link to point, along with an optional title for the link, surrounded in quotes. For example:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;span class="lnt"&gt;2&#10;&lt;/span&gt;&lt;span class="lnt"&gt;3&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;This is [&lt;span class="nt"&gt;an example&lt;/span&gt;](&lt;span class="na"&gt;http://example.com/ &amp;#34;Title&amp;#34;&lt;/span&gt;) inline link.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[&lt;span class="nt"&gt;This link&lt;/span&gt;](&lt;span class="na"&gt;http://example.net/&lt;/span&gt;) has no title attribute.&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;will produce:&lt;/p&gt;&#10;&lt;p&gt;This is &lt;a class="link" href="http://example.com/" title="Title"&#10; target="_blank" rel="noopener"&#10; &gt;an example&lt;/a&gt; inline link. (&lt;code&gt;&amp;lt;p&amp;gt;This is &amp;lt;a href=&amp;quot;http://example.com/&amp;quot; title=&amp;quot;Title&amp;quot;&amp;gt;&lt;/code&gt;)&lt;/p&gt;&#10;&lt;p&gt;&lt;a class="link" href="http://example.net/" target="_blank" rel="noopener"&#10; &gt;This link&lt;/a&gt; has no title attribute. (&lt;code&gt;&amp;lt;p&amp;gt;&amp;lt;a href=&amp;quot;http://example.net/&amp;quot;&amp;gt;This link&amp;lt;/a&amp;gt; has no&lt;/code&gt;)&lt;/p&gt;&#10;&lt;h4 id="internal-links"&gt;&lt;a href="#internal-links" class="header-anchor"&gt;&lt;/a&gt;Internal Links&#10;&lt;/h4&gt;&lt;p&gt;&lt;strong&gt;You can set the href to headers&lt;/strong&gt;, which will create a bookmark that allow you to jump to that section after clicking. For example:&lt;/p&gt;&#10;&lt;p&gt;Command(on Windows: Ctrl) + Click &lt;a class="link" href="#block-elements" &gt;This link&lt;/a&gt; will jump to header &lt;code&gt;Block Elements&lt;/code&gt;. To see how to write that, please move cursor or click that link with &lt;code&gt;⌘&lt;/code&gt; key pressed to expand the element into markdown source.&lt;/p&gt;&#10;&lt;h4 id="reference-links"&gt;&lt;a href="#reference-links" class="header-anchor"&gt;&lt;/a&gt;Reference Links&#10;&lt;/h4&gt;&lt;p&gt;Reference-style links use a second set of square brackets, inside which you place a label of your choosing to identify the link:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;span class="lnt"&gt;2&#10;&lt;/span&gt;&lt;span class="lnt"&gt;3&#10;&lt;/span&gt;&lt;span class="lnt"&gt;4&#10;&lt;/span&gt;&lt;span class="lnt"&gt;5&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;This is [an example][id] reference-style link.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Then, anywhere in the document, you define your link label on a line by itself like this:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[id]: http://example.com/ &amp;#34;Optional Title Here&amp;#34;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;In Typora, they will be rendered like so:&lt;/p&gt;&#10;&lt;p&gt;This is &lt;a class="link" href="http://example.com/" title="Optional Title Here"&#10; target="_blank" rel="noopener"&#10; &gt;an example&lt;/a&gt; reference-style link.&lt;/p&gt;&#10;&lt;p&gt;The implicit link name shortcut allows you to omit the name of the link, in which case the link text itself is used as the name. Just use an empty set of square brackets — for example, to link the word “Google” to the google.com web site, you could simply write:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;span class="lnt"&gt;2&#10;&lt;/span&gt;&lt;span class="lnt"&gt;3&#10;&lt;/span&gt;&lt;span class="lnt"&gt;4&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[Google][]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;And then define the link:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[Google]: http://google.com/&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;In Typora, clicking the link will expand it for editing, and command+click will open the hyperlink in your web browser.&lt;/p&gt;&#10;&lt;h3 id="urls"&gt;&lt;a href="#urls" class="header-anchor"&gt;&lt;/a&gt;URLs&#10;&lt;/h3&gt;&lt;p&gt;Typora allows you to insert URLs as links, wrapped by &lt;code&gt;&amp;lt;&lt;/code&gt;brackets&lt;code&gt;&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt;&amp;lt;i@typora.io&amp;gt;&lt;/code&gt; becomes &lt;a class="link" href="mailto:i@typora.io" &gt;i@typora.io&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;Typora will also automatically link standard URLs. e.g: &lt;a class="link" href="https://www.google.com" target="_blank" rel="noopener"&#10; &gt;www.google.com&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h3 id="images"&gt;&lt;a href="#images" class="header-anchor"&gt;&lt;/a&gt;Images&#10;&lt;/h3&gt;&lt;p&gt;Images have similar syntax as links, but they require an additional &lt;code&gt;!&lt;/code&gt; char before the start of the link. The syntax for inserting an image looks like this:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;span class="lnt"&gt;2&#10;&lt;/span&gt;&lt;span class="lnt"&gt;3&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;![&lt;span class="nt"&gt;Alt text&lt;/span&gt;](&lt;span class="na"&gt;/path/to/img.jpg&lt;/span&gt;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;![&lt;span class="nt"&gt;Alt text&lt;/span&gt;](&lt;span class="na"&gt;/path/to/img.jpg &amp;#34;Optional title&amp;#34;&lt;/span&gt;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;You are able to use drag &amp;amp; drop to insert an image from an image file or your web browser. You can modify the markdown source code by clicking on the image. A relative path will be used if the image that is added using drag &amp;amp; drop is in same directory or sub-directory as the document you&amp;rsquo;re currently editing.&lt;/p&gt;&#10;&lt;p&gt;If you’re using markdown for building websites, you may specify a URL prefix for the image preview on your local computer with property &lt;code&gt;typora-root-url&lt;/code&gt; in YAML Front Matters. For example, input &lt;code&gt;typora-root-url:/User/Abner/Website/typora.io/&lt;/code&gt; in YAML Front Matters, and then &lt;code&gt;![alt](/blog/img/test.png)&lt;/code&gt; will be treated as &lt;code&gt;![alt](file:///User/Abner/Website/typora.io/blog/img/test.png)&lt;/code&gt; in Typora.&lt;/p&gt;&#10;&lt;p&gt;You can find more details &lt;a class="link" href="https://support.typora.io/Images/" target="_blank" rel="noopener"&#10; &gt;here&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h3 id="emphasis"&gt;&lt;a href="#emphasis" class="header-anchor"&gt;&lt;/a&gt;Emphasis&#10;&lt;/h3&gt;&lt;p&gt;Markdown treats asterisks (&lt;code&gt;*&lt;/code&gt;) and underscores (&lt;code&gt;_&lt;/code&gt;) as indicators of emphasis. Text wrapped with one &lt;code&gt;*&lt;/code&gt; or &lt;code&gt;_&lt;/code&gt; will be wrapped with an HTML &lt;code&gt;&amp;lt;em&amp;gt;&lt;/code&gt; tag. E.g:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;span class="lnt"&gt;2&#10;&lt;/span&gt;&lt;span class="lnt"&gt;3&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;*single asterisks*&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="ge"&gt;_single underscores_&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;output:&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;single asterisks&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;single underscores&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;GFM will ignore underscores in words, which is commonly used in code and names, like this:&lt;/p&gt;&#10;&#10; &lt;blockquote&gt;&#10; &lt;p&gt;wow_great_stuff&lt;/p&gt;&#10;&lt;p&gt;do_this_and_do_that_and_another_thing.&lt;/p&gt;&#10;&#10; &lt;/blockquote&gt;&#10;&lt;p&gt;To produce a literal asterisk or underscore at a position where it would otherwise be used as an emphasis delimiter, you can backslash escape it:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;\*this text is surrounded by literal asterisks\*&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;Typora recommends using the &lt;code&gt;*&lt;/code&gt; symbol.&lt;/p&gt;&#10;&lt;h3 id="strong"&gt;&lt;a href="#strong" class="header-anchor"&gt;&lt;/a&gt;Strong&#10;&lt;/h3&gt;&lt;p&gt;A double &lt;code&gt;*&lt;/code&gt; or &lt;code&gt;_&lt;/code&gt; will cause its enclosed contents to be wrapped with an HTML &lt;code&gt;&amp;lt;strong&amp;gt;&lt;/code&gt; tag, e.g:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;span class="lnt"&gt;2&#10;&lt;/span&gt;&lt;span class="lnt"&gt;3&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;**double asterisks**&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="gs"&gt;__double underscores__&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;output:&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;double asterisks&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;double underscores&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;Typora recommends using the &lt;code&gt;**&lt;/code&gt; symbol.&lt;/p&gt;&#10;&lt;h3 id="code"&gt;&lt;a href="#code" class="header-anchor"&gt;&lt;/a&gt;Code&#10;&lt;/h3&gt;&lt;p&gt;To indicate an inline span of code, wrap it with backtick quotes (`). Unlike a pre-formatted code block, a code span indicates code within a normal paragraph. For example:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Use the &lt;span class="sb"&gt;`printf()`&lt;/span&gt; function.&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;will produce:&lt;/p&gt;&#10;&lt;p&gt;Use the &lt;code&gt;printf()&lt;/code&gt; function.&lt;/p&gt;&#10;&lt;h3 id="strikethrough"&gt;&lt;a href="#strikethrough" class="header-anchor"&gt;&lt;/a&gt;Strikethrough&#10;&lt;/h3&gt;&lt;p&gt;GFM adds syntax to create strikethrough text, which is missing from standard Markdown.&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt;~~Mistaken text.~~&lt;/code&gt; becomes &lt;del&gt;Mistaken text.&lt;/del&gt;&lt;/p&gt;&#10;&lt;h3 id="underlines"&gt;&lt;a href="#underlines" class="header-anchor"&gt;&lt;/a&gt;Underlines&#10;&lt;/h3&gt;&lt;p&gt;Underline is powered by raw HTML.&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt;&amp;lt;u&amp;gt;Underline&amp;lt;/u&amp;gt;&lt;/code&gt; becomes &lt;u&gt;Underline&lt;/u&gt;.&lt;/p&gt;&#10;&lt;h3 id="emoji-smile"&gt;&lt;a href="#emoji-smile" class="header-anchor"&gt;&lt;/a&gt;Emoji &amp;#x1f604;&#10;&lt;/h3&gt;&lt;p&gt;Input emoji with syntax &lt;code&gt;:smile:&lt;/code&gt;.&lt;/p&gt;&#10;&lt;p&gt;User can trigger auto-complete suggestions for emoji by pressing &lt;code&gt;ESC&lt;/code&gt; key, or trigger it automatically after enabling it on preference panel. Also, inputting UTF-8 emoji characters directly is also supported by going to &lt;code&gt;Edit&lt;/code&gt; -&amp;gt; &lt;code&gt;Emoji &amp;amp; Symbols&lt;/code&gt; in the menu bar (macOS).&lt;/p&gt;&#10;&lt;h3 id="inline-math"&gt;&lt;a href="#inline-math" class="header-anchor"&gt;&lt;/a&gt;Inline Math&#10;&lt;/h3&gt;&lt;p&gt;To use this feature, please enable it first in the &lt;code&gt;Preference&lt;/code&gt; Panel -&amp;gt; &lt;code&gt;Markdown&lt;/code&gt; Tab. Then, use &lt;code&gt;$&lt;/code&gt; to wrap a TeX command. For example: &lt;code&gt;$\lim_{x \to \infty} \exp(-x) = 0$&lt;/code&gt; will be rendered as LaTeX command.&lt;/p&gt;&#10;&lt;p&gt;To trigger inline preview for inline math: input “$”, then press the &lt;code&gt;ESC&lt;/code&gt; key, then input a TeX command.&lt;/p&gt;&#10;&lt;p&gt;You can find more details &lt;a class="link" href="https://support.typora.io/Math/" target="_blank" rel="noopener"&#10; &gt;here&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h3 id="subscript"&gt;&lt;a href="#subscript" class="header-anchor"&gt;&lt;/a&gt;Subscript&#10;&lt;/h3&gt;&lt;p&gt;To use this feature, please enable it first in the &lt;code&gt;Preference&lt;/code&gt; Panel -&amp;gt; &lt;code&gt;Markdown&lt;/code&gt; Tab. Then, use &lt;code&gt;~&lt;/code&gt; to wrap subscript content. For example: &lt;code&gt;H~2~O&lt;/code&gt;, &lt;code&gt;X~long\ text~&lt;/code&gt;/&lt;/p&gt;&#10;&lt;h3 id="superscript"&gt;&lt;a href="#superscript" class="header-anchor"&gt;&lt;/a&gt;Superscript&#10;&lt;/h3&gt;&lt;p&gt;To use this feature, please enable it first in the &lt;code&gt;Preference&lt;/code&gt; Panel -&amp;gt; &lt;code&gt;Markdown&lt;/code&gt; Tab. Then, use &lt;code&gt;^&lt;/code&gt; to wrap superscript content. For example: &lt;code&gt;X^2^&lt;/code&gt;.&lt;/p&gt;&#10;&lt;h3 id="highlight"&gt;&lt;a href="#highlight" class="header-anchor"&gt;&lt;/a&gt;Highlight&#10;&lt;/h3&gt;&lt;p&gt;To use this feature, please enable it first in the &lt;code&gt;Preference&lt;/code&gt; Panel -&amp;gt; &lt;code&gt;Markdown&lt;/code&gt; Tab. Then, use &lt;code&gt;==&lt;/code&gt; to wrap highlight content. For example: &lt;code&gt;==highlight==&lt;/code&gt;.&lt;/p&gt;&#10;&lt;h2 id="html"&gt;&lt;a href="#html" class="header-anchor"&gt;&lt;/a&gt;HTML&#10;&lt;/h2&gt;&lt;p&gt;You can use HTML to style content what pure Markdown does not support. For example, use &lt;code&gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;this text is red&amp;lt;/span&amp;gt;&lt;/code&gt; to add text with red color.&lt;/p&gt;&#10;&lt;h3 id="embed-contents"&gt;&lt;a href="#embed-contents" class="header-anchor"&gt;&lt;/a&gt;Embed Contents&#10;&lt;/h3&gt;&lt;p&gt;Some websites provide iframe-based embed code which you can also paste into Typora. For example:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-Markdown" data-lang="Markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&amp;lt;iframe height=&amp;#39;265&amp;#39; scrolling=&amp;#39;no&amp;#39; title=&amp;#39;Fancy Animated SVG Menu&amp;#39; src=&amp;#39;http://codepen.io/jeangontijo/embed/OxVywj/?height=265&amp;amp;theme-id=0&amp;amp;default-tab=css,result&amp;amp;embed-version=2&amp;#39; frameborder=&amp;#39;no&amp;#39; allowtransparency=&amp;#39;true&amp;#39; allowfullscreen=&amp;#39;true&amp;#39; style=&amp;#39;width: 100%;&amp;#39;&amp;gt;&amp;lt;/iframe&amp;gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;h3 id="video"&gt;&lt;a href="#video" class="header-anchor"&gt;&lt;/a&gt;Video&#10;&lt;/h3&gt;&lt;p&gt;You can use the &lt;code&gt;&amp;lt;video&amp;gt;&lt;/code&gt; HTML tag to embed videos. For example:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-Markdown" data-lang="Markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&amp;lt;video src=&amp;#34;xxx.mp4&amp;#34; /&amp;gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;h3 id="other-html-support"&gt;&lt;a href="#other-html-support" class="header-anchor"&gt;&lt;/a&gt;Other HTML Support&#10;&lt;/h3&gt;&lt;p&gt;You can find more details &lt;a class="link" href="https://support.typora.io/HTML/" target="_blank" rel="noopener"&#10; &gt;here&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h2 id="latex"&gt;&lt;a href="#latex" class="header-anchor"&gt;&lt;/a&gt;LaTeX&#10;&lt;/h2&gt;&#10; &lt;blockquote&gt;&#10; &lt;p&gt;&lt;a class="link" href="https://artofproblemsolving.com/wiki/index.php/LaTeX:Symbols" target="_blank" rel="noopener"&#10; &gt;https://artofproblemsolving.com/wiki/index.php/LaTeX:Symbols&lt;/a&gt;&lt;/p&gt;&#10;&#10; &lt;/blockquote&gt;&#10;&lt;h2 id="思维导图"&gt;&lt;a href="#%e6%80%9d%e7%bb%b4%e5%af%bc%e5%9b%be" class="header-anchor"&gt;&lt;/a&gt;思维导图&#10;&lt;/h2&gt;&lt;h4 id="流程图"&gt;&lt;a href="#%e6%b5%81%e7%a8%8b%e5%9b%be" class="header-anchor"&gt;&lt;/a&gt;流程图&#10;&lt;/h4&gt;&lt;pre class="mermaid" style="visibility:hidden"&gt;graph TD;&#10; A--&gt;B;&#10; A--&gt;C;&#10; B--&gt;D;&#10; &lt;/pre&gt;&lt;pre class="mermaid" style="visibility:hidden"&gt; graph LR;&#10; A--&gt;B;&#10; A--&gt;C;&#10; B--&gt;D;&lt;/pre&gt;&lt;pre class="mermaid" style="visibility:hidden"&gt;graph TD;&#10;&#9;/--&gt;bin;&#10;&#9;/--&gt;boot;&#10;&#9;/--&gt;dev;&#10;&#9;/--&gt;etc;&#10;&#9;/--&gt;home;&#10;&#9;/--&gt;root;&#10;&#9;/--&gt;run;&#10;&#9;/--&gt;sbin;&#10;&#9;/--&gt;tmp;&#10;&#9;/--&gt;usr;&#10;&#9;/--&gt;var;&#10;&#9;home--&gt;alice;&#10;&#9;home--&gt;bob;&#10;&#9;home--&gt;eve;&lt;/pre&gt;&lt;h3 id="时序图"&gt;&lt;a href="#%e6%97%b6%e5%ba%8f%e5%9b%be" class="header-anchor"&gt;&lt;/a&gt;时序图&#10;&lt;/h3&gt;&lt;pre class="mermaid" style="visibility:hidden"&gt;sequenceDiagram&#10; Alice-&gt;&gt;John: Hello John, how are you?&#10; Note left of Alice:提示&#10; John--&gt;&gt;Alice: Great!&#10; Tom-&gt;John:Hey bro!&#10; Note right of Tom:Tom的描述（提示）&lt;/pre&gt;&lt;h4 id="甘特图"&gt;&lt;a href="#%e7%94%98%e7%89%b9%e5%9b%be" class="header-anchor"&gt;&lt;/a&gt;甘特图&#10;&lt;/h4&gt;&lt;pre class="mermaid" style="visibility:hidden"&gt;gantt&#10; dateFormat YYYY-MM-DD&#10; title 软件开发甘特图&#10; &#10; section 设计&#10; 需求 :done, des1, 2022-01-06,2022-01-08&#10; 原型:active, des2, 2022-01-09, 3d&#10; UI设计: des3, after des2, 5d&#10; &#9;未来任务: des4, after des3, 5d&#10; &#9;&#10; section 开发&#10; 学习准备理解需求:crit, done, 2022-01-06,24h&#10; 设计框架:crit, done, after des2, 2d&#10; 开发:crit, active, 3d&#10; 未来任务:crit, 5d&#10; &#10; section 测试&#10; 功能测试:active, a1, after des3, 3d&#10; 压力测试:after a1 , 20h&#10; 测试报告: 48h&lt;/pre&gt;&lt;h4 id="饼图"&gt;&lt;a href="#%e9%a5%bc%e5%9b%be" class="header-anchor"&gt;&lt;/a&gt;饼图&#10;&lt;/h4&gt;&lt;pre class="mermaid" style="visibility:hidden"&gt;pie&#10; title Key elements in Product X&#10; "Calcium": 42.96&#10; "Potassium": 50.05&#10; "Magnesium": 10.01&#10; "Iron": 5&lt;/pre&gt;&lt;h2 id="docusaurus-for-mdx"&gt;&lt;a href="#docusaurus-for-mdx" class="header-anchor"&gt;&lt;/a&gt;Docusaurus for MDX&#10;&lt;/h2&gt;&#10; &lt;blockquote&gt;&#10; &lt;p&gt;&lt;a class="link" href="https://www.docusaurus.cn/docs/markdown-features" target="_blank" rel="noopener"&#10; &gt;https://www.docusaurus.cn/docs/markdown-features&lt;/a&gt;&lt;/p&gt;&#10;&#10; &lt;/blockquote&gt;&#10;&lt;div class="footnotes" role="doc-endnotes"&gt;&#10;&lt;hr&gt;&#10;&lt;ol&gt;&#10;&lt;li id="fn:1"&gt;&#10;&lt;p&gt;Here is the &lt;em&gt;text&lt;/em&gt; of the &lt;strong&gt;footnote&lt;/strong&gt;.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;/div&gt;&#10;</description></item></channel></rss>