Find a file
Niklas Fasching f17923047b Refactor RegularLink: Do not fake description if none is given
To more faithfully handle inline images we need to know whether the original
link included a description - being more explicit about that will make it
easier.

see org.el/org-display-inline-images

> An inline image is a link which follows either of these
> conventions:
>
>   1. Its path is a file with an extension matching return value
>      from `image-file-name-regexp' and it has no contents.
>
>   2. Its description consists in a single link of the previous
>      type.
2018-12-03 16:59:01 +01:00
etc/githooks Setup basic development environment: make, git hooks & CI 2018-12-02 16:49:44 +01:00
org Refactor RegularLink: Do not fake description if none is given 2018-12-03 16:59:01 +01:00
.travis.yml Setup basic development environment: make, git hooks & CI 2018-12-02 16:49:44 +01:00
main.go Restructure directory layout: org subpackage 2018-12-02 18:37:55 +01:00
Makefile Fix make test: also get test packages 2018-12-02 18:59:03 +01:00
README.org Refactor space handling of writers 2018-12-02 23:34:21 +01:00

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 goorgeous is broken & abandoned

next

TODO #72: Support for #+ATTR_HTML

TODO #46: Support for symbols like ndash and mdash

  • see org-entities replacement: see org-entities-help

TODO #10: Support noexport

TODO #19: Support #+HTML

TODO #33: Wrong output when mixing html with org-mode

later

  • affiliated keywords: see org-element.el - org-element-affiliated-keywords
  • keywords: support both multi (e.g. LINK, TODO) & normal (e.g. AUTHOR, TITLE) keywords
  • links based on #+LINK
  • table colgroups https://orgmode.org/worg/org-tutorials/tables.html
  • table pretty printing