ox.el 333 B

1234567891011121314
  1. (require 'ox)
  2. (setq org-html-validation-link nil)
  3. (setq org-export-time-stamp-file nil)
  4. (defun main ()
  5. (let* ((org-file (car command-line-args-left))
  6. (html-file (concat (substring org-file 0 -4) ".html")))
  7. (with-temp-buffer
  8. (insert-file-contents org-file)
  9. (org-export-to-file 'html html-file))))
  10. (main)