bin/org2html in orgmode-cli-tools-0.3.0 vs bin/org2html in orgmode-cli-tools-0.4.0
- old
+ new
@@ -1,8 +1,8 @@
#!/usr/bin/env ruby
-# TODO add CLI flags to toggle:
+# TODO add CLI flags to toggle: ?
# t, --include-toc
# s, --include-section-numbering
# h N, --headline-levels=N
# v, --version
@@ -13,9 +13,10 @@
<<ELISP
(package-initialize)
(require 'org-publish)
(require 'htmlize)
+(setq c-standard-font-lock-fontify-region-function 'font-lock-default-fontify-region)
(setq org-export-htmlize-output-type 'css)
(org-publish '("org2html" :base-directory "#{src_dir}"
:publishing-function org-publish-org-to-html
:publishing-directory "/tmp"