目录
  1. 1. 介绍
  2. 2. 安装
    1. 2.1. Debian/Ubuntu
颠覆写作体验的极简Markdown——Typora

介绍

Markdown(MD)是现在最流行的一种文档书写语言格式,用户只需用一些简单易记的语法就能轻松写出一篇具有良好的排版和可读性的文章。

现在很多的软件(如笔记类:为知笔记、有道云笔记、印象笔记等;软件类:Visual Studio Code、Atom、Sublime Text等)和网站(Github、维基、简书、CSDN等)都已经支持Markdown语法,而且Github已经将Markdown作为基本的文档编写格式。从Github上Clone代码都是Markdown格式的文档。所以一款简单好用的Markdown编辑器是很重要的。

安装

Debian/Ubuntu

dsconfig
1
# optional, but recommended
2
3
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE

安装时报错

img

因为缺少dirmngr,安装dirmngr

routeros
1
sudo apt-get install dirmngr

然后重新输入最开始的代码。
接下来输入

smali
1
# add Typora's repository
2
3
sudo add-apt-repository 'deb https://typora.io/linux ./'
4
sudo apt-get update
5
6
# install typora
7
8
sudo apt-get install typora

在安装的时候发现下载速度非常的慢,这是因为debian的镜像源默认是国外的,需要更改源。

官方源备份:

angelscript
1
# 
2
3
# deb cdrom:[Debian GNU/Linux 9.5.0 _Stretch_ - Official amd64 NETINST 20180714-10:25]/ stretch main
4
5
# deb cdrom:[Debian GNU/Linux 9.5.0 _Stretch_ - Official amd64 NETINST 20180714-10:25]/ stretch main
6
7
deb http://mirrors.163.com/debian/ stretch main
8
deb-src http://mirrors.163.com/debian/ stretch main
9
10
deb http://security.debian.org/debian-security stretch/updates main
11
deb-src http://security.debian.org/debian-security stretch/updates main
12
13
# stretch-updates, previously known as 'volatile'
14
deb http://mirrors.163.com/debian/ stretch-updates main
15
deb-src http://mirrors.163.com/debian/ stretch-updates main

更新成阿里云的源

groovy
1
deb http://mirrors.aliyun.com/debian/ jessie main non-free contrib
2
deb http://mirrors.aliyun.com/debian/ jessie-updates main non-free contrib
3
deb http://mirrors.aliyun.com/debian/ jessie-backports main non-free contrib
4
deb-src http://mirrors.aliyun.com/debian/ jessie main non-free contrib
5
deb-src http://mirrors.aliyun.com/debian/ jessie-updates main non-free contrib
6
deb-src http://mirrors.aliyun.com/debian/ jessie-backports main non-free contrib
7
deb http://mirrors.aliyun.com/debian-security/ jessie/updates main non-free contrib
8
deb-src http://mirrors.aliyun.com/debian-security/ jessie/updates main non-free contrib

再执行安装命令即可。

文章作者: Izzio
文章链接: https://izzio.netlify.com/blog/software/linux/55044.html
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Seventy
ENG