Malabarba / ox-jekyll-subtree

Extension to ox-jexkyll for better export of subtrees

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ox-jekyll-subtree

Extension to ox-jexkyll for better export of subtrees. This is only possible thanks to ox-jekyll, from the org-octopress repo (a copy is provided in this repo).

Please note, this is not a package, this is a script. Feel free to submit issues if you run into problems, just be aware that this does not fully conform with usual package standards.

Usage

Place this in your load-path, add the following lines to your init file, and invoke M-x ojs-export-to-blog to export a subtree as a blog post.

(autoload 'ojs-export-to-blog "ox-jekyll-subtree")
(setq org-jekyll-use-src-plugin t)

;; Obviously, these two need to be changed for your blog.
(setq ojs-blog-base-url "http://endlessparentheses.com/")
(setq ojs-blog-dir (expand-file-name "~/Git-Projects/blog/"))

About

Extension to ox-jexkyll for better export of subtrees


Languages

Language:Emacs Lisp 100.0%