+;;; init-hugo-blogging --- Setup orgmode to publish markdown for my blog
+
+;;; Commentary:
 ;; Functionality to support blogging with org mode and hugo
 
+;;; Code:
 (require-package 'toml-mode)
 
 (add-to-list 'auto-mode-alist '("\\.toml\\'" . toml-mode))

(defun gp-org-gfm-publish-to-md (plist filename pub-dir)
  "Publish an org file to Github Flavoured Markdown.

FILENAME is the filename of the Org file to be published.  PLIST
is the property list for the given project.  PUB-DIR is the
publishing directory.

Return output file name."
  (org-publish-org-to 'gfm filename ".md" plist pub-dir))

         :headline-levels 3
         :body-only t
         )
        ;; ("gp-blog" :components ("org-gilesp-blog"))
        ))

(provide 'init-hugo-blogging)
;;; init-hugo-blogging ends here
