Tumblr MarkDown 语法

最近在用Tumblr和Twitter学习英文,然后发现Tumblr的markdown语法虽然相近,还是有些功能没有的,大致写一下。

转自我的Tumblr:Tumblr MarkDown Syntax

Something different from my uses before.

All below can be realized by HTML.

Tumblr Support:
First of all, if you want to create a new line, you should enter an extra line.

This is a bold text.

**This is a bold text.**

This is a italic text.

_This is a italic text._ or *This is a italic text.*

Bold and Italic one

***Bold and Italic one***

While u can use any Syntax combined with the two.

Note: if there is space after the *, it will go wrong

And two list:

  1. Here is one.
  2. Another.
  3. The third.
  • Here is one.
  • Another.
  • The third.

  • Here is one.
  • Another.
  • The third.
  • Here is one.
  • Another.
  • The third.

Of course there is another two ways to achieve the effect of unordered list(+ & *)

Note: U should make an extra line before use them.

This is the quote.

> This is the quote.

H4

#### H4

The same, u can change it to h1, h2, h3 ,h4, h5, h6.

My Codebox

[My Codebox](http://codesky.me)

Maybe u can use another syntax for link only without modifier.

http://codesky.me

<http://codesky.me>

If u want to hide some paaragraphes, and show the read more button, you can use the following:

[[MORE]]

And if u want to show u code, u can use:

Code

What a shame we can't use it to insert many lines of code, so we must use the html.

And what's more, there are lots of pity except the words above.

Of course there is more syntax, u can read them in the Content source, thanks for read my post.

相比我以前用的markdown,显得不太易用,也没有<p>标签和<br/>的区分,分割线之类的也很少,<pre>也不支持,虽然应该都能通过html实现,但就markdown而言还显得不够完善,当然,如果只是写写一般的日志而言还是够了。

我用的主题是默认的,所以缺少关于code的相关CSS(如等宽字体)

    code {
        font-family: Menlo,Monaco,Consolas,"Lucida Console","Courier New",monospace;
    }

参考自:http://daringfireball.net/projects/markdown/basics,似乎是Tumblr的官方推荐。
此外,一般的markdown语法看:
http://sebug.net/node/t-24
http://wowubuntu.com/markdown/
如果是需要增强版,可能就需要用到其他编辑器了,比如我觉得CMDMarkdown就很不错

植入部分

如果您觉得文章不错,可以通过赞助支持我。

如果您不希望打赏,也可以通过关闭广告屏蔽插件的形式帮助网站运作。

标签: 语法, markdown

添加新评论