IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    用 Markdown 写文档

    Wu Zhangjin发表于 2015-06-04 14:39:07
    love 0

    打印 | Print

    by Falcon of TinyLab.org
    2015/05/11

    背景

    Markdown 让人回归内容创作本身,本站第四篇关于 Markdown 的文章,这次介绍如何用 Markdown 写中文文档。

    下载仓库

    git clone https://gitlab.com/tinylab/markdown-article.git

    安装环境

    sudo apt-get install pandoc
    sudo apt-get install texlive-xetex texlive-latex-recommended texlive-latex-extra
    
    sudo apt-get install ttf-arphic-gbsn00lp ttf-arphic-ukai # from arphic
    sudo apt-get install ttf-wqy-microhei ttf-wqy-zenhei     # from WenQuanYi

    编辑文档

    请参照如下两篇使用 Markdown 语法编写文档。

    • Markdown基本语法
    • Pandoc’s Markdown语法

    编译

    cd markdown-article/
    make

    编译完会生成一份 doc.pdf 文档。


    ~原创有您,更持久!期待您的支持~

    0 0

    打印 | Print



沪ICP备19023445号-2号
友情链接