Ubuntu 安装中文输入法
A、检查 fctix 框架
win + a,打开 Language Support,在 kygboard input method system 中查看是否有 fcitx.
有:设置为 fctix ,
没有:
手动安装:sudo apt-get install fctix (sudo apt install fctix)
修复依赖关系:sudo apt-get install -f
重启电脑,重新设置 kygboard input method system 为 fctix
B、安装输入法(二选一)
1、搜狗输入法
下载 https://pinyin.sogou.com/linux/?r=pinyin
安装 sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb
修复依赖:sudo apt-get install -f
重启
2、Google 输入法
# googlepinyin 有基于 fctix 框架的,也有基于 ibus 框架的。
执行 sudo apt install fctix
安装 sudo apt install fcitx-googlepinyin
修复依赖 sudo apt-get install -f
重启
C、设置输入法
1、win + a ,打开fcitx configuration
2、点击 “+” 新增输入法,在搜索框直接搜索即可
3、取消勾选 "only ..."
4、设置输入法
D、卸载
1、卸载 googlepinyin
sudo apt-get purge fcitx-googlepinyin
2、卸载搜狗输入法(卸载之前将系统的输入法设置为 ibus ,否则系统重启后没有输入法可用)
卸载 fctix: sudo apt-get purge fcitx
卸载 fctix 及相关配置:sudo apt-get autoremove
原文链接 https://blog.csdn.net/Chamico/article/details/89788324
插入链接与图片
链接: link.
图片:
带尺寸的图片:
居中的图片:
居中并且带尺寸的图片:
当然,我们为了让用户更加便捷,我们增加了图片拖拽功能。
如何插入一段漂亮的代码片
去博客设置页面,选择一款你喜欢的代码片高亮样式,下面展示同样高亮的 代码片
.
// An highlighted block
var foo = 'bar';
生成一个适合你的列表
- 项目
- 项目
- 项目
- 项目
- 项目1
- 项目2
- 项目3
- 计划任务
- 完成任务
创建一个表格
一个简单的表格是这么创建的:
项目 | Value |
---|---|
电脑 | $1600 |
手机 | $12 |
导管 | $1 |
设定内容居中、居左、居右
使用:---------:
居中
使用:----------
居左
使用----------:
居右
第一列 | 第二列 | 第三列 |
---|---|---|
第一列文本居中 | 第二列文本居右 | 第三列文本居左 |
SmartyPants
SmartyPants将ASCII标点字符转换为“智能”印刷标点HTML实体。例如:
TYPE | ASCII | HTML |
---|---|---|
Single backticks | 'Isn't this fun?' |
‘Isn’t this fun?’ |
Quotes | "Isn't this fun?" |
“Isn’t this fun?” |
Dashes | -- is en-dash, --- is em-dash |
– is en-dash, — is em-dash |
创建一个自定义列表
-
Markdown
- Text-to- HTML conversion tool Authors
- John
- Luke
如何创建一个注脚
一个具有注脚的文本。1
注释也是必不可少的
Markdown将文本转换为 HTML。
KaTeX数学公式
您可以使用渲染LaTeX数学表达式 KaTeX:
Gamma公式展示 Γ ( n ) = ( n − 1 ) ! ∀ n ∈ N \Gamma(n) = (n-1)!\quad\forall n\in\mathbb N Γ(n)=(n−<