bep
February 21, 2017, 7:53am
1
gohugoio:master
โ curiouslychase:orgIntegration
opened 05:49AM - 30 Jan 17 UTC
This PR adds support for Org content, as requested in #936 and #1483.
It doesโฆ n't look like much, but it adds a new dependency [https://github.com/chaseadamsio/goorgeous](https://github.com/chaseadamsio/goorgeous), a go org to html package.
Files with the following format with `.org` extensions are supported for 98% of the use cases and 100% of what would be converted from Hugo markdown currently.
It supports `.org` headers at the top of the file as well for frontmatter:
```
#+TITLE: My Hugo Blog Post
#+AUTHOR: Chase Adams
#+DATE: 2016-12-14T10:17:43Z
#+DRAFT: true
```
so there's no need to "manipulate" org files to work with Hugo by including toml, yaml or JSON for frontmatter.
It'd be great to have some folks test it out (I've been generating posts for the past two weeks with this support successfully).
Any guidance on what tests should be written to verify and what documentation should be updated would be appreciated!
@bep @spf13
cc @anthonyfok @eggcaker
So, Emacsers and other curious people, please test it โ and report back any issues or suggestions for improvement!
Note that the Org content handling is provided by an external Go library, so please report any issues related to that here:
So, what is Org mode? you may ask.
See Org mode beginning at the basics
Org-mode, as it says on the official web page is for keeping notes, maintaining ToDo lists, doing project planning, and authoring with a fast and effective plain-text system. Beginning with Emacs 22.2 and XEmacs 22.1 it has been part of Emacs.
5 Likes
@chaseadamsio Awesome job! Thanks for the continued support with tackling issues on goorgeous
.
2 Likes