chore(export): change from ox-gfm to built-in ox-md
HTML tables are better supported in Vuepress than Markdown tables
This commit is contained in:
parent
5ded96f90e
commit
2134600c0a
@ -4,12 +4,11 @@
|
|||||||
(package-initialize)
|
(package-initialize)
|
||||||
(package-refresh-contents)
|
(package-refresh-contents)
|
||||||
(package-install 'f)
|
(package-install 'f)
|
||||||
(package-install 'ox-gfm)
|
|
||||||
|
|
||||||
(message "Emacs directory: %s" user-emacs-directory)
|
(message "Emacs directory: %s" user-emacs-directory)
|
||||||
|
|
||||||
(require 'f)
|
(require 'f)
|
||||||
(require 'ox-gfm)
|
(require 'ox-md)
|
||||||
(require 'ox-publish)
|
(require 'ox-publish)
|
||||||
|
|
||||||
(setq org-confirm-babel-evaluate nil
|
(setq org-confirm-babel-evaluate nil
|
||||||
@ -23,6 +22,6 @@
|
|||||||
(message "Exporting %s" (f-relative file))
|
(message "Exporting %s" (f-relative file))
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(find-file file)
|
(find-file file)
|
||||||
(org-export-to-file 'gfm (concat (f-no-ext file) ".md"))))
|
(org-export-to-file 'md (concat (f-no-ext file) ".md"))))
|
||||||
|
|
||||||
(message "Project generated!")
|
(message "Project generated!")
|
||||||
|
Loading…
Reference in New Issue
Block a user