使用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简洁的语法 代码块高亮 图片链接 ...
随机推荐
- Swift不可变数组
Objective-C编写了2个不同的类来区分不可变数组(NSArray)和可变数组(NSMutableArray): Swift通过使用常量和变量来区分不可变数组和可变数组. 只要将数组定义为常量, ...
- inline和宏之间的区别
1.内联函数在编译时展开,而宏在预编译时展开 2.在编译的时候,内联函数直接被嵌入到目标代码中去,而宏只是一个简单的文本替换. 3.内联函数可以进行诸如类型安全检查.语句是否正确等编译功能,宏不具有这 ...
- 【暑假】[实用数据结构] AC自动机
Aho-Corasick自动机 算法: <功能> AC自动机用于解决文本一个而模板有多个的问题. AC自动机可以成功将多模板匹配,匹配意味着算法可以找到每一个模板在文本中出现的位置. & ...
- uvalive 3135 Argus priority_queue
用优先队列维护每个时间点优先级最高的元素. #include<iostream> #include<cstdio> #include<cstdlib> #inclu ...
- 《Genesis-3D开源游戏引擎完整实例教程-跑酷游戏篇06:移动版优化指南》--本系列完结
6.移动版优化指南 概述: 移动设备不同于目前的高端设备(Wii.Xbox 360和PS3),市场上的手机硬件是很有限的,并且所有的移动设备都是不一样的.像Adroid手机,由于品牌和出厂年限的不同, ...
- linux命令getopts
一.getopts 简介 由于shell命令行的灵活性,自己编写代码判断时,复杂度会比较高.使用内部命令 getopts 可以很方便地处理命令行参数.一般格式为: getopts options va ...
- leetcode@ [199] Binary Tree Right Side View (DFS/BFS)
https://leetcode.com/problems/binary-tree-right-side-view/ Given a binary tree, imagine yourself sta ...
- Java注解处理器使用详解
在这篇文章中,我将阐述怎样写一个注解处理器(Annotation Processor).在这篇教程中,首先,我将向您解释什么是注解器,你可以利用这个强大的工具做什么以及不能做什么:然后,我将一步一步实 ...
- 字符串匹配算法——KMP算法学习
KMP算法是用来解决字符串的匹配问题的,即在字符串S中寻找字符串P.形式定义:假设存在长度为n的字符数组S[0...n-1],长度为m的字符数组P[0...m-1],是否存在i,使得SiSi+1... ...
- SQL2008-不同数据库之间的触发器
create trigger tr_update_Table_1 on rwqd FOR UPDATE As update dataabc.dbo.Table_1 set ...