Skip to content

Instantly share code, notes, and snippets.

@Eason0210
Created February 5, 2026 05:19
Show Gist options
  • Select an option

  • Save Eason0210/488cf80defb712a85e60b6ed56164b75 to your computer and use it in GitHub Desktop.

Select an option

Save Eason0210/488cf80defb712a85e60b6ed56164b75 to your computer and use it in GitHub Desktop.

Example Org File

Revamp orgmode.org website 改版 orgmode.org 网站

The beauty of org must be shared. Org的美必须分享。 https://upload.wikimedia.org/wikipedia/commons/b/bd/Share_Icon.svg

Make screenshots

Restyle Site CSS

Go through stylesheet

Check CSS on main pages 检查主页面的CSS

Learn Org 学习 Org

Org makes easy things trivial and complex things practical.

Org让简单的事情变得微不足道,让复杂的事情变得可行。

You don’t need to learn Org before using Org: read the quickstart page and you should be good to go. If you need more, Org will be here for you as well: dive into the manual and join the community!

在使用 Org 之前,你不需要先学习 Org:阅读快速入门页面,你就可以开始使用了。如果你需要更多资源,Org 也会为你提供支持:深入学习手册并加入社区吧!

Feedback 反馈

Check CSS minification ratios

from pathlib import Path
cssRatios = []
for css_min in Path("resources/style").glob("*.min.css"):
    css = css_min.with_suffix('').with_suffix('.css')
    cssRatios.append([css.name,
    "{:.0f}% minified ({:4.1f} KiB)".format( 100 *
                      css_min.stat().st_size / css.stat().st_size,
                      css_min.stat().st_size / 1000)])
return cssRatios

Evaluated results

Org table 表格

Org 主模式内置了一个表格编辑器,并且支持各种与元素引用以及公式的功能。 最简单的表格仅仅是由 | 分隔开的文本。

一个表格
两行

这是在一篇论文(Schulte et al. 2012)里的一个表格,对比了现有的文学编程与可重复研究工具。

ToolLiterate programming?Reproducible Research?Languages
工具文学编程?可重复研究?语言
Javadocpartial(部分)no(否)Java
Haskell .lhspartial(部分)no(否)Haskell
nowebyes(是)no(否)any
Sweavepartial(部分)yes(是)R
Org-modeyes(是)yes(是)any

担心无法在文本表格中对齐?你只需按一个键 —— tab​。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment