ZucchinY

启用转义符转义

在 Org Mode 写一些笔记的时候,经常会用到下划线 -,而 a_b 总是会变成 ab 的形式,可以通过在文档的最上面,增加配置来关闭自动转义,对于在文章头部加上了 #+OPTIONS: ^:nil , 还可以通过配置 (setq org-use-sub-superscripts nil) 的方式来实现全局配置。

用 ditaa 绘制图形

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#+BEGIN_SRC ditaa :file ../images/linux-os.png :exports both :cmdline -E -r -s 1.0
+---------------------------------------------------------+
| Applications |
| +----------------------------------------------------+
| | System Libraries |
+----+----------------------------------------------------+
| System Call Interface |
+------------------------+--------------+-----------------+ +---------+
| VFS | Socket | | | |
+------------------------+--------------+ Scheduler +-------+ CPU |
| File Systems | TCP/UDP | | | |
+------------------------+--------------+-----------------+ +----+----+
| Volume Manager | IP | Virtual | |
+------------------------+--------------+ Memory | |
| Block Device Interface | Ethernet | | |
+------------------------+--------------+-----------------+ +----+----+
| Device Driver | | DRAM |
+-----------------------------+---------------------------+ +---------+
|
|
+-------+--------+
| I/O Bridge |
+-------+--------+
|
|
------+-----------------+--------------------+------
| |
+---------+--------+ +----------+---------+
| I/O Controller | | Network Controller |
+-+-------+------+-+ +----+----------+----+
| | | | |
+---+---+ | +---+---+ +----+----+ +---+----+
| Disk | ... | Swap | | Port | | Port |
+-------+ +-------+ +---------+ +--------+