marktext/test/unit/data/common/BasicTextFormatting.md
Ran Luo 230c90c920
container block preview and inline syntax error (#992)
* opti: container block preview

* remove unused codes

* rewrite createBlock method

* remove ag-line classname

* just push codes

* hand enter + shift in paragraph

* update import markdown and export markdown

* update part updateCtrl

* update indent code block

* auto indent when press shift + enter

* update thematic break

* update inline syntax update reg

* update list and task list

* update atx heading and setext heading

* update paragraph

* update block quote

* adjust cursor in heading

* update codes

* paragraph turn into feature check

* check copy paste

* update turn into

* fix: delete last # error

* fix: turn setext heading to atx heading error

* fix: delete thematic break error

* paste and copy

* workarond turndown to support soft line break

* fix: unable create table

* modify export markdown

* modify test markdown

* fix: cursor error when update blockquote

* readd cursor check when dispatch changes

* fix: inline math create a lot extra char

* add code cache clear after each render

* fallback to prismjs2
2019-05-04 23:41:46 +08:00

37 lines
653 B
Markdown

## Basic Text Formatting
**Strong** text __Also Strong__
~~strike~~ and `inline code`
<u>under line</u> and 4<sup>3</sup> H<sub>2</sub>O
*this is in italic* and _so is this_
**this is in bold** and __so is this__
***this is bold and italic*** and ___so is this___
<b>this will be bold</b>
<i>this will be bold</i>
<s>this is strike through text</s>
So _a_ single _word_ followed _b_y _a_nother
So __a__ single __word__ followed __b__y __a__nother
## Some markdown extentions
This is emoji :man:
This is inline math $a \ne b$
## Paragraph
A two trailing spaces and a new line
makes a line break.
Two new lines make a new paragraph.