Haroopad安装与配置: Linux系统下最好用的Markdown编辑器

1. Haroopad概述

Haroopad is a markdown enabled document processor for creating web-friendly documents.

You can author professional-looking documents of various formats: blog posts, slides, presentations, reports, email and more.

Haroopad gives you the same editing experience regardless of the platform you are working on. It runs on all three major operating systems—Windows, Mac OS X, and Linux.

2. Haroopad安装

进入官网(http://pad.haroopress.com/)下载与自己系统对应的软件包

  

Ubuntu系统可以进入下载页面直接下载deb安装包(下载不了?百度网盘下载haroopad-v0.13.1-x64.deb), 双击安装即可。

  

3. Haroopad配置

点击菜单 文件 -> 偏好设置, 编辑器配置推荐如下: 主题moonkai, 点击"编辑"按钮可以自定义主题, 通过修改"default.css"文件可以修改编辑区默认字体。

  

设置编译区域字体和行号为"Courier 10 pitch", 修改后的"default.css"文件如下,保存后点击"重新载入"即可完成设置。

/**
  You can only use the following style.

  - color, font-family, font-style
  - text-shadow
  - background-*

  Example:
    font-family: "微软雅黑", "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, sans-serif !important;
    text-shadow: 0 1px rgba(0, 0, 0, .8);
    background-image: url('wood.jpg');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
*/

editor {
font-family: "Courier 10 pitch", "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, sans-serif !important;
}
linenumber {
font-family: "Courier 10 pitch", "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, sans-serif !important;
}
activeline {
font-family: "微软雅黑", "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, sans-serif !important;
}

/*
  You can only use the following style.

  - color, font-family, font-style
  - text-shadow

  Example:
    color: #adadad;
    font-style: bold;
    text-shadow: 0 1px rgba(0, 0, 0, .8);
*/
header {}
code {}
blockquote {}
li1 {}
li2 {}
li3 {}
hr {}
img {}
a {}
em {}
i {}
strong {}

预览区推荐配置如下: 主题推荐采用github, 可以通过点击"编辑按钮自定义主题", 方法通编辑区

  

代码区配置如下: 主题推荐采用monokai_sublime

  

4. 参考链接

[1]. Haroopad--最好用的markdown编辑器

 

posted @ 2017-04-07 20:13  moon1992  阅读(1324)  评论(0编辑  收藏  举报