From feb713192dd8ffc0190914c5397e9598e0a98613 Mon Sep 17 00:00:00 2001 From: Himanshu Ladia Date: Wed, 13 Feb 2019 15:14:02 +0530 Subject: [PATCH] add markdown example using vscode (#26902) --- .../english/developer-tools/markdown/index.md | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/guide/english/developer-tools/markdown/index.md b/guide/english/developer-tools/markdown/index.md index 872ccdf48e..8e727c34e2 100644 --- a/guide/english/developer-tools/markdown/index.md +++ b/guide/english/developer-tools/markdown/index.md @@ -5,6 +5,51 @@ title: Markdown Markdown is a lightweight markup language with plain text formatting syntax. It is designed so that it can be converted to HTML and many other formats using a tool by the same name. Markdown is often used to format README files, for writing messages in online discussion forums, and to create rich text using a plain text editor. You can also write Markdown in your text editor (like Sublime Text or Visual Studio Code). Markdown is gaining in visibility and popularity through the emergence of streamlined, "distraction-free" text editors. +## Example +You can run the following code in Visual Studio Code by saving it using a .md extension and pressing Ctrl+Shift+V to see the preview. + +``` +Heading +======= + +## Sub-heading + +Paragraphs are separated +by a blank line. + +Two spaces at the end of a line +produces a line break. + +Text attributes _italic_, +**bold**, `monospace`. + +Horizontal rule: + +--- + +Bullet list: + + * apples + * oranges + * pears + +Numbered list: + + 1. wash + 2. rinse + 3. repeat + +A [link][example]. + + [example]: http://example.com + +![Image](Image_icon.png "icon") + +> Markdown uses email-style > characters for blockquoting. + +Inline HTML is supported. + +``` ## More Information: A cheatsheet is one of the easiest way to learn Markdown. Check out this popular cheatsheet.