泰晓科技 -- 聚焦 Linux - 追本溯源,见微知著!
网站地址:https://tinylab.org

儿童Linux系统,可打字编程学数理化
请稍侯

Start posting with Markdown

Wu Zhangjin 创作于 2013/12/09

by falcon of TinyLab.org 2013/11/09

Background

It’s really painful to write blogs with a visual editor:

  • I want a pretty output
  • I’m not a UI designer, I don’t know how to tune the formats
  • I want to print my idea as quickly as possible

Markdown solved the above issue, it allows us to write a pretty document quickly in a very simple markup language.

Likes Latex, it can be converted to HTML, PDF and the other visual output formats, but it is simpler and easier to use.

Usage

To use it, at first, please learn Markdown Syntax or its Chinese translation: https://www.markdownguide.org/basic-syntax or Markdown Cheatsheet.

Then, we can write something with a plan text editor, such as gedit or vim, after editing, save the content to a file named with the ‘.md’ suffix.

To display the real output, we can convert the just saved file to the other generic formats, such as Html, ODT or PDF, in Ubuntu, the tool markdown is such a tool:

$ sudo apt-get install markdown

If want an integrated editor, we can use the tools like Retext, which allows to edit, preview and export to HTML, ODT or PDF.

$ sudo apt-get install retext

In WordPress, If want to write blogs in Markdown, a plugin named Markdown on save can be installed, it can be used like Retext.

Conclusion

With the help of the Markdown language and the Markdown on save plugin, we’re able to publish our idea more efficiently.



Read Album:

Read Related:

Read Latest: