Leave out the CSS and Java scripts when exporting HTML in Org-Mode

The HTML export in Org-Mode by default adds a 123 lines of CSS and Java code. For most of my exports, I don’t need these.

To turn CSS & Java off, in Org-mode version 8, use

#+OPTIONS: html-scripts:nil

To create a short text in HTML, I often use these:

#+OPTIONS: author:nil timestamp:nil toc:nil html-postamble:nil num:nil html-style:nil
#+OPTIONS: html-scripts:nil

For all the other default options dispatched in the export, see here:

C-c C-e #html RET
Avatar
Gijs Hillenius
Context for Digital Government

Policy specialist on open source in public services, knowlegde transfer expert

Related