美文网首页
markdown语法练习

markdown语法练习

作者: pelsor | 来源:发表于2016-01-15 18:15 被阅读35次

Mou

Mou icon

Overview

Mou, the missing Markdown editor for web developer.

Syntax

Strong and Emphasize

strong or strong (Cmd + B)

emphasize or emphasize (Cmd + I)

sometimes I want a lot of text to be bold.Like,seriously,a Lot of text

Blockqutes

Rigth angle btackers > are used for block quotes.

Links and Email

An email example@example.com link.

Simple inline link http://chenluois.com,another inline link Smaller,one more inline link with title Resize.

A reference style link. Input id,then anywhere in the doc,define the link with corresponding id:

Title (or called tool tips) in the links are optional.

Images

An inline image ,title is optional. Smaller iconSmaller icon A reference style image. Resize iconResize icon

Inline code and Block code

Inline code are surround by backtick key. To create a block code:

Indent each line by at least 1 tab, or 4 spaces.
var Mou = exactlyTheAppIwant;

Ordered Lists

ordered lists are created using "1." + Space:

  1. ordered list item
  2. ordered list item
  3. ordered list item

Undered List

Unordered Lists

Unordered list are creadted using "*" + Space:

  • Unordered list item
  • Unordered list item
  • Unordered list item

Or using "-" + Space:

  • Unordered list item
  • Unordered list item
  • Unordered list item

Hard Linebreak

End a line with two or more spaces will create a linebreak,called <br /> in HTML.(Control + Return)

above line ended with 2 spaces.

Horizontal Rules

Three or more asterisks or dashes:




Headers

Setext-style:

This is H1

This is H2

atx-style

This is H1

This is H2

This is H3

This is H4

This is H5
This is H6

Extra Syntax

Footnotes

Footnotes work mostly like reference-style links.A footnotes is made of two things: a masker in the text that will become a superscript number; a footnote definition that will be placed in a list of footnotes at the end of the document .A footnote looks like this:

That's some text with a footnote.[1]

Strikethrough

wrap with 2 tilde chracters:

Strikethrough

Fenced Code Blocks

start with a line containing 3 or more backticks. and ends the first line with the same number of backticks:

Fenced code blocks are like Stardard Markdown's regular code

blocks,except that they're not indented and instead rely on 

a start and end fence lines to delimit the code block.

Tables

A simple table looks like this :

Fisrt Header Second Header Third Header
Content cell Content cell Content cell
content cell content cell content cell

If you wish ,you can add a leading and tailing pipe to each line of the tables:

First Header Second Header Third Header
Content Cell Content Cell Content Cell
Content Cell Content Cell Content Cell

Sepctify aligment for each column by adding colins to seprato]r lines:

First Header Seconf Header Third Header
left Center Rigth

Shorcuts

view

  • Toggle live preview:Shift + cmd + I
  • Toggle words counter : ShifT + cmd + w
  • Toogle transparent : Shift + cmd + T
  • Toogle Floating : Shift + cmd + F
  • Left / Right = 1/1 : cmd + 0
  • Left / Right = 3/1 : cmd + +
  • Left/Right = 1/3: Cmd + -
  • Toggle Writing orientation: Cmd + L
  • Toggle fullscreen: Control + Cmd + F

Actions

  • Copy HTML : Option + Cmd + C
  • Strong: Select text, Cmd + B
  • Emphasize: Select text, Cmd + I
  • Inline Code: Select text, Cmd + K
  • Strikethrough: Select text, Cmd + U
  • Link: Select text, Control + Shift + L
  • Image: Select text, Control + Shift + I
  • Select Word: Control + Option + W
  • Select Line: Shift + Cmd + L
  • Select All: Cmd + A
  • Deselect All: Cmd + D
  • Convert to Uppercase: Select text, Control + U
  • Convert to Lowercase: Select text, Control + Shift + U
  • Convert to Titlecase: Select text, Control + Option + U
  • Convert to List: Select lines, Control + L
  • Convert to Blockquote: Select lines, Control + Q
  • Convert to H1: Cmd + 1
  • Convert to H2: Cmd + 2
  • Convert to H3: Cmd + 3
  • Convert to H4: Cmd + 4
  • Convert to H5: Cmd + 5
  • Convert to H6: Cmd + 6
  • Convert Spaces to Tabs: Control + [
  • Convert Tabs to Spaces: Control + ]
  • Insert Current Date: Control + Shift + 1
  • Insert Current Time: Control + Shift + 2
  • Insert entity <: Control + Shift + ,
  • Insert entity >: Control + Shift + .
  • Insert entity &: Control + Shift + 7
  • Insert entity Space: Control + Shift + Space
  • Insert Scriptogr.am Header: Control + Shift + G
  • Shift Line Left: Select lines, Cmd + [
  • Shift Line Right: Select lines, Cmd + ]
  • New Line: Cmd + Return
  • Comment: Cmd + /
  • Hard Linebreak: Control + Return

  1. And that;s the footnote.

相关文章

  • Day-1 陈海影

    学习markdown相关语法并练习 先下载简书,设置文本格式为markdown

  • Markdown语法练习

    一级标题 二级标题 六级标题 项目 - 无伙伴项目子项目孙项目 1.有序项目 字体字体 叫帅锅就划掉这根线 孔夫子...

  • Markdown语法练习

    h1级标题 h2级标题 h3级标题 h4级标题 h5级标题 h6级标题 分割线:三个以上的短线 即可作出分割线 超...

  • Markdown语法练习

  • markdown语法练习

    标题 列表1列表百度果芽官网果芽>注册登录设置编辑器:富文本/markdown写博客:新建文集(即文件夹)、新建文...

  • markdown语法练习

    标题1 标题2 标题3 标题6(#最多6个) 吃饭 睡觉 打豆豆 吃饭 睡觉 打豆豆 这里可以是一段引用可以一直这...

  • Markdown语法练习

    粗体 粗体 斜体 斜体强调 删除线 删除线 链接 markdown语法链接 代码块,底色 代码块 图片链接 引用 ...

  • Markdown语法练习

    标题 一级标题 二级标题 三级标题 四级标题 五级标题 六级标题 列表 无序列表 文本1 文本2 文本3 有序列表...

  • Markdown 语法练习

    一级标题 二级标题 三级标题 四级标题 五极标题 六级标题 普通文字 加粗字体 斜体字 加粗加斜 列表 列表...

  • markdown 语法练习

    一级标题 二级标题 三级标题 四级标题 五级标题 文本 文本 有序文本 有序文本简书![][1][1]:(imag...

网友评论

      本文标题:markdown语法练习

      本文链接:https://www.haomeiwen.com/subject/weyhkttx.html