30 lines
1.7 KiB
Org Mode
30 lines
1.7 KiB
Org Mode
A basic org-mode parser in go
|
|
* motivation
|
|
- have a org-mode AST to play around with building an org-mode language server
|
|
- hopefully add reasonable org-mode support to hugo - sadly [[https://github.com/chaseadamsio/goorgeous][goorgeous]] is broken & abandoned
|
|
* next
|
|
*** TODO [[https://github.com/chaseadamsio/goorgeous/issues/72][#72:]] Support for #+ATTR_HTML
|
|
*** TODO [[https://github.com/chaseadamsio/goorgeous/issues/46][#46]]: Support for symbols like ndash and mdash
|
|
- see org-entities replacement: see org-entities-help
|
|
*** TODO [[https://github.com/chaseadamsio/goorgeous/issues/10][#10]]: Support noexport
|
|
*** TODO [[https://github.com/chaseadamsio/goorgeous/issues/19][#19]]: Support #+HTML
|
|
*** TODO [[https://github.com/chaseadamsio/goorgeous/issues/31][#31]]: Support #+INCLUDE
|
|
- see https://orgmode.org/manual/Include-files.html
|
|
*** TODO [[https://github.com/chaseadamsio/goorgeous/issues/33][#33]]: Wrong output when mixing html with org-mode
|
|
* later
|
|
- hugo frontmatter - see https://gohugo.io/content-management/front-matter/ -> actually seems to be handled by hugo itself
|
|
- handle #+RESULTS: raw and stuff
|
|
- affiliated keywords: see org-element.el - org-element-affiliated-keywords
|
|
- keywords: support both multi (e.g. LINK, TODO) & normal (e.g. AUTHOR, TITLE) keywords
|
|
https://orgmode.org/manual/In_002dbuffer-settings.html
|
|
- links based on #+LINK
|
|
- table colgroups https://orgmode.org/worg/org-tutorials/tables.html
|
|
- table pretty printing
|
|
* resources
|
|
- syntax
|
|
- https://orgmode.org/worg/dev/org-syntax.html
|
|
- https://github.com/abo-abo/org-mode/blob/mirror/lisp/org.el
|
|
- https://github.com/abo-abo/org-mode/blob/mirror/lisp/org-element.el
|
|
- test cases
|
|
- [[https://github.com/bdewey/org-ruby/blob/master/spec/html_examples][org-ruby]]
|
|
- pandoc, goorgeous
|