--- series: Article Example showTime: true showOutdatedWarning: false created: 2022-07-01 updated: 2022-07-02 tags: - English --- # Example Article Markdown is a lightweight markup language, you can add some marks to plain text and convert them to rich and more semantics content. you can write it by using any text editor, with some simple marks to format the content, like adding `#` symbol before some content separating with spacing, then these content will mark as Heading1 (Markdown supports mark content as 6 different levels). Markdown file extension is `.md` ## Basic Syntax ::TipBox{type="tip"} Markdown basic syntax can refer to the following two websites: * [CommonMark](https://commonmark.org/) * [GitHub Flavored Markdown Spec (gfm)](https://github.github.com/gfm/) :: ### Text Style **Italic** **Bold** ~~delete~~ ~del~ ### Link [Google](https://www.google.com/) ### Image ![Local Image](./images/typewriter.jpg) ![Online Image](https://picsum.photos/id/60/800/500) ::TipBox{type="tip"} you can double click the image to zoom in :: ### Blockquote > Blockquote content ### List #### Unordered List * list item one * nest list item 1 * nest list item 2 * nest list item 3 * deep nest list item a * deep nest list item b * deep nest list item c * list item two * list item three #### Ordered List 1. list item one 1. nest list item 1 2. nest list item 2 3. nest list item 3 2. list item two 3. list item three ### Code inline code `npm install marked` block code ```javascript console.log('hello world!') ``` block code with some rows highlighted and specify the source file of the code ```javascript [/components/content/ProseCode.vue] {2-4, 6} const languageColorMap = { theme: '#a855f7', bash: '#89e051', shell: '#89e051', html: '#e34c26', javascript: '#f1e05a', } ``` ### table | First Header | Second Header | three Header | forth Header | fifth Header | sixth Header | | :---: | :---: | :---: | :---: | :---: | :---: | | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | Content Cell | ### Footnote Here's a first footnote[^1] and here's the second number footnote[^2]. ### Other Dividing lines --- ### Emoji [emoji](https://www.webfx.com/tools/emoji-cheat-sheet/) :smile: :bulb: :warning: ## Extended syntax ### Mermaid ```mermaid flowchart TD A[Start] --> B{Is it?} B -->|Yes| C[OK] C --> D[Rethink] D --> B B ---->|No| E[End] ``` ### Math Formula inline math formula $E=mc^2$ block math formula $$ \begin{aligned} P \times A &= \begin{bmatrix} 0& 1\\ 1& 0 \end{bmatrix} \begin{bmatrix} a& b\\ c& d \end{bmatrix} &= \begin{bmatrix} c&d \\ a&b \end{bmatrix} \end{aligned} $$ ::TipBox{type="tip"} double click the formula can copy the corresponding LaTeX code to clipboard you can check the [KaTeX documentation](https://katex.org/docs/supported.html) to see which math symbols are supported :: ### Text Style Superscript x^2^ Subscript O_2_ ### Images Group images group ::ImageList{height='500px'} ![laptop](https://picsum.photos/id/0/200) ![ocean](https://picsum.photos/id/1002/600) ![boat](https://picsum.photos/id/1011/400) ![river](https://picsum.photos/id/1015/500) ![railway](https://picsum.photos/id/1026/800) ![waterfall](https://picsum.photos/id/1039/800/1000) ![stream](https://picsum.photos/id/1043/600/800) ![playground](https://picsum.photos/id/1058/1000) :: ::TipBox{type="tip"} you can also double click the image to zoom in :: ### Tab Group ::TabGroup ::::TabItem{name="Tab1"} this is the first tab :+1: :::: ::::TabItem{name="Tab1"} this is the second tab :wink: :::: ::::TabItem{name="Tab3"} this is the third tab :tada: :::: :: --- [^1]: This is the first number footnote. [^2]: This is the first number footnote.