Export Org Mode to HTML

Posted on March 17, 2021

In This Video

Most basic org mode HTML export

  • org-export-dispatch
  • h for HTML
    • o for open

Basic options to customize the export

  • Configure options by adding: #+OPTIONS:

Numbering

  • num:nil

Table of Contents

  • toc:nil

Advanced options

Further customizing the exported HTML

Make it look better!

SETUPFILES

Custom CSS

#+HTML_HEAD: <link rel="stylesheet" type="text/css" href"styles.css"/>

Themes To Try

I have not tried/like all of these, just some options you could give a go. You may need to download the CSS file directly for some of these as well as they may not be hosted online.

Org-Min

#+HTML_HEAD: <link rel="stylesheet" href="https://sandyuraz.com/styles/org.min.css">

Rethink

https://github.com/jessekelly881/Rethink

Imagine

https://github.com/jessekelly881/Imagine

Alphapapa’s Darksun

https://github.com/alphapapa/org-html-theme-darksun

Bigblow

#+SETUPFILE: https://fniessen.github.io/org-html-themes/org/theme-bigblow.setup

Readtheorg

#+SETUPFILE: https://fniessen.github.io/org-html-themes/org/theme-readtheorg.setup