使用Mou 编写Markdown编辑器博客
Mou
Overview
Mou, the missing Markdown editor for web developers.
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
Blockquotes
Right angle brackets > 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:
Titles ( or called tool tips ) in the links are optional.
Images
An inline image , title is optional.
A reference style image.
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:
- Ordered list item
- Ordered list item
- Ordered list item
Unordered Lists
Unordered list are created 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 hard 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 footnote is made of two things: a marker 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 characters:
Strikethrough
Fenced Code Blocks
Start with a line containing 3 or more backticks, and ends with 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:
First 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 table:
First Header | Second Header | Third Header |
---|---|---|
Content Cell | Content Cell | Content Cell |
Content Cell | Content Cell | Content Cell |
Specify alignment for each column by adding colons to separator lines:
First Header | Second Header | Third Header |
---|---|---|
Left | Center | Right |
Left | Center | Right |
Shortcuts
View
- Toggle live preview: Shift + Cmd + I
- Toggle Words Counter: Shift + Cmd + W
- Toggle Transparent: Shift + Cmd + T
- Toggle 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
Edit
- Auto complete current word: Esc
- Find: Cmd + F
- Close find bar: Esc
Post
- Post on Scriptogr.am: Control + Shift + S
- Post on Tumblr: Control + Shift + T
Export
- Export HTML: Option + Cmd + E
- Export PDF: Option + Cmd + P
And more?
Don't forget to check Preferences, lots of useful options are there.
Follow @Mou on Twitter for the latest news.
For feedback, use the menu Help
- Send Feedback
And that's the footnote. ↩︎
使用Mou 编写Markdown编辑器博客的更多相关文章
- 如何高效的编写与同步博客 (.NET Core 小工具实现)
一.前言 写博客,可以带给我们很多好处,比如可以让我们结识更多志同道合的人:在写博客过程中去查技术资料或者实践可以让我们对知识的掌握和理解更加深刻:通过博客分享能帮助他人收获分享的快乐等等.写博客真的 ...
- 新功能发布!Markdown写博客!
有一种神奇的语言,它比html还简单,它巧妙地将内容与格式整合在一起--它就是Markdown. 现在我们实现了博客对Markdown的内置支持,可以让您轻松地在园子里用这个神奇的语言写博客! &qu ...
- 用markdown写博客
目录 用markdown写博客 前言 标题 段落 引用区块 代码块 列表 分隔线 链接 强调.加粗.下划线.删除线 图片 智能链接 表格 转义序列 用markdown写博客 前言 博客园支持用mark ...
- 用markdown写博客,看这一篇就够了
0. 前言 记得上次用markdown写博客,尽管我有markdown使用经验,但第一篇markdown博客还是不得已的"回滚"了. 传送门:记录一下第一次用markdown写博客 ...
- 让Emeditor支持markdown编辑博客
让Emeditor支持markdown编辑博客 1. 关于高亮显示 2.生成HTML文件并预览 用惯了Emeditor,最近又开始学习用markdown写博客,怎么让Emeditor支持markdow ...
- 第一次使用MarkDown写博客,复习指针
第一次使用MarkDown记录博客,复习指针 创建数组 指针的指针 二级指针的使用 1. 创建数组 - 数组和指针都支持加法和索引 2. 指针的指针 - 使用另一个指针指向数组(用法一致[索引.加法] ...
- markdown的博客
测试一下markdown写博客 function firstProgram() { console.log("This is my first markdown blog"); }
- 教你如何快速上手markdown语法,编写技术博客(史上最全最简,用MarkDown写博客)
首先,进行有道云笔记官网,新建一份markdown文档, 如下图 然后,在文档编辑区,左边,复制如下段落文字 加粗 斜线 标记颜色 下划线 废弃线 一级标题 二级标题 三级标题 四级标题 五级标题 六 ...
- 这是一篇markdown测试博客
欢迎使用Markdown编辑器写博客 本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦: Markdown和扩展Markdown简洁的语法 代码块高亮 图片链接 ...
随机推荐
- mac远程连接 win8
首先 打开组策略 .windows8 下 按win+R 可以唤出运行,输入[gpedit.msc]按下 回车键 选择[计算机配置]>[管理模板]>[Windows组件]>[远程桌面服 ...
- 利用CryptoStream进行加密解密
public class DBSecurity { //sKey sIV这两个自己随意设定,不能外泄 private const string sKey = "11,22,33,43,34, ...
- Mongodb千万级数据在python下的综合压力测试及应用探讨
http://rfyiamcool.blog.51cto.com/1030776/1329351
- uva 11178
题意:根据A,B,C三点的位置确定D,E,F三个点的位置. 贴模板 #include<cstdio> #include<cmath> #include<cstring&g ...
- Android Activity 生命周期中onStart()和onResume()的区别
首先了解Activity的四种状态 Running状态:一个新的Activity启动入栈后,它在屏幕最前端,处于栈的最顶端,此时它处于可见并可和用户交互的激活状态.Paused状态:当Activity ...
- Ubunut 13.04下配置memcached、 python MySQLDB,python-memcache模块等
一开始系统使用的是163的源,没有安装成功memcached,换了cn99的也不行,后来换了台湾的源,以下步骤才得以顺利进行. 更换源的方法可以参看我以前的帖子. 安装memached:sudo ap ...
- linux下ssh使用rsa验证登陆MACOX
由于项目的需求,我这边ubuntu下常常需要SSH访问另外一台MACOS. 每次输入密码有点烦,就想到RSA公钥和密钥验证的方法. 像所有教程上讲的一样,本机执行 gong@hzsx:~$ ssh-k ...
- work2
回答问题: 描述在这么多相似的需求面前, 你怎么维护你的设计 (父类/子类/基类, UML, 设计模式, 或者其它方法) 让整个程序的架构不至于崩溃的? 答:诚然,问题给出了很多选项如-a,-v,- ...
- Oracle-数据实现竖排打印
--存放重证评分的数据表create table ZZPFapache2( ZZ_datetime DATE, --时间 ZZ_zongfen INTEGER, --总分 ZZ_shiwan ...
- [Objective-c 基础 - 2.3] 继承、组合
A.继承的实现: is a 1.不允许子类.父类存在相同的成员变量 2.方法调用优先原则:子类调用方法的时候,优先从本类寻找,若无则向上在父类中寻找 3.重写:子类重新实现父类的方法,覆盖父类之前的方 ...