Hugo: Add support for Go-native implementation of (Emacs) "Org-mode" markup

Created on 12 Oct 2015  路  5Comments  路  Source: gohugoio/hugo

See http://discuss.gohugo.io/t/org-mode-support/810

About Org-mode:

There appear to be no usable Go-native implementation of Org-mode as of October 2015, but hopefully it will come in due time.

Enhancement Wish

Most helpful comment

Well if you read the source code in the commit you'd find helpers/content.go which shows that github.com/chaseadamsio/goorgeous is used for parsing the content.

All 5 comments

Hi!

Can someone explain me how you implement Org-mode support? I am not go savvy but I don't see any Org-mode syntax parser included. Do you use any external library to parse and convert Org-mode?

Thanks!

Please use http://discuss.gohugo.io/ for questions/troubleshooting. Also see Hugo Documentation.

I have a question for this specific commit. This commit has a built-in discussion/question functionality of GitHub and I don't want to create just another account for the external discussion portal.

The Hugo Documentation does not state how Org-mode syntax is converted. The linked source code fragment does not help either because there is no Org-mode extension mentioned.

Well if you read the source code in the commit you'd find helpers/content.go which shows that github.com/chaseadamsio/goorgeous is used for parsing the content.

There seems to be a misunderstanding what "native Emacs Org-mode" means (mentioned on https://www.reddit.com/r/emacs/comments/5wibiv/hugo_v019_with_native_emacs_orgmode_content/). I thought that you're using the original Elisp parser whereas there is a Go-parser instead. My mistake.

Thanks for clarification.

Was this page helpful?
0 / 5 - 0 ratings