百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

go-org

> 编程语言
开源

带有 html 和漂亮打印 org 渲染的 Org 模式解析器。还有一个糟糕的静态网站生成器。

396 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

带有 html 和漂亮打印 org 渲染的 Org 模式解析器。还有一个糟糕的静态网站生成器。

  • go-org An Org mode parser and static site generator in go. Take a look at github pages
  • for [[https://niklasfasching.github.io/go-org/][org to html conversion]] examples
  • for a [[https://niklasfasching.github.io/go-org/blorg][static site]] generated by blorg
  • to [[https://niklasfasching.github.io/go-org/convert.html][try it out live]] in your browser

[[https://raw.githubusercontent.com/niklasfasching/go-org/master/etc/example.png]]

Please note

  • the goal for the html export is to produce sensible html output, not to exactly reproduce the output of =org-html-export=.
  • the goal for the parser is to support a reasonable subset of Org mode. Org mode is huge and I like to follow the 80/20 rule.
  • usage ** command line

#+begin_src bash $ go-org Usage: go-org COMMAND [ARGS]... Commands:

  • render [FILE] FORMAT FORMAT: org, html, html-chroma Instead of specifying a file, org mode content can also be passed on stdin
  • blorg
    • blorg init
    • blorg build
    • blorg serve

#+end_src ** as a library see [[https://github.com/niklasfasching/go-org/blob/master/main.go][main.go]] and hugo [[https://github.com/gohugoio/hugo/blob/master/markup/org/convert.go][org/convert.go]]

  • development
  1. =make setup=
  2. change things
  3. =make preview= (regenerates fixtures & shows output in a browser)

in general, have a look at the Makefile - it's short enough.

  • resources
  • test files
    • [[https://raw.githubusercontent.com/kaushalmodi/ox-hugo/master/test/site/content-org/all-posts.org][ox-hugo all-posts.org]]
    • https://ox-hugo.scripter.co/doc/examples/
  • https://orgmode.org/manual/
  • https://orgmode.org/worg/dev/org-syntax.html
  • https://code.orgmode.org/bzg/org-mode/src/master/lisp/org.el
    • https://code.orgmode.org/bzg/org-mode/src/master/lisp/org-element.el
    • mostly those & ox-html.el, but yeah, all of [[https://code.orgmode.org/bzg/org-mode/src/master/lisp/]]
  • existing Org mode implementations: [[https://github.com/emacsmirror/org][org]], [[https://github.com/bdewey/org-ruby/blob/master/spec/html_examples][org-ruby]], [[https://github.com/chaseadamsio/goorgeous/][goorgeous]], [[https://github.com/jgm/pandoc/][pandoc]]

Issues· 20 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Goemacsgoorg-modestatic-site

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言