Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
(setq blog-directory "~/github/kozikow-blog")
(setq org-list-allow-alphabetical t)
(require 'org2blog)
(require 'netrc)
(require 'org2blog-autoloads)
(setq org2blog/wp-blog-alist
:url ""
:username "kozikow"
:password "YourPasswordOrUseNetrc"
:default-categories ("org2blog" "emacs"))))
(setq org2blog/wp-use-sourcecode-shortcode 't)
(setq org2blog/wp-sourcecode-default-params nil)
(setq org2blog/wp-sourcecode-langs
'("actionscript3" "bash" "coldfusion" "cpp" "csharp" "css" "delphi"
"erlang" "fsharp" "diff" "groovy" "javascript" "java" "javafx" "matlab"
"objc" "perl" "php" "text" "powershell" "python" "ruby" "scala" "sql"
"vb" "xml"
"sh" "elisp" "clojure" "lua"))
(setq org-src-fontify-natively t)
(defalias 'my-wordpress-publish 'org2blog/wp-post-buffer-and-publish)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.