Skip to content

Commit

Permalink
Split off ox-modern.el
Browse files Browse the repository at this point in the history
Split off the modern Org export defaults, to be used in other
projects. This section is still also included in the default.el file.
  • Loading branch information
jeffkreeftmeijer committed May 3, 2024
1 parent 2594097 commit 92483a1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions emacs-configuration.org
Original file line number Diff line number Diff line change
Expand Up @@ -1565,6 +1565,7 @@ Use ~org-html-container-element~ and ~org-html-divs~ to replace some of the stan

To configure Org mode's HTML exporter to output HTML 5 with modern elements, set the following configuration.

#+headers: :tangle ox-modern.el
#+headers: :noweb yes
#+begin_src emacs-lisp
(setq
Expand Down
12 changes: 12 additions & 0 deletions ox-modern.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
(setq
org-export-with-smart-quotes t
org-export-with-entities nil
org-export-headline-levels 5
org-export-with-toc nil
org-export-section-numbers nil
org-html-doctype "html5"
org-html-html5-fancy t
org-html-container-element "section"
org-html-divs '((preamble "header" "preamble")
(content "main" "content")
(postamble "footer" "postamble")))

0 comments on commit 92483a1

Please sign in to comment.