Skip to content

Themify org-mode HTML export with installed color theme.

Notifications You must be signed in to change notification settings

DogLooksGood/org-html-themify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Org HTML Themify

This package will generate inlined CSS style in your exported HTML, according to your installed Emacs color theme.

Installation

with use-package & straight

(use-package org-html-themify
  :straight
  (org-html-themify
   :type git
   :host github
   :repo "DogLooksGood/org-html-themify"
   :files ("*.el" "*.js" "*.css"))
  :hook (org-mode . org-html-themify-mode)
  :custom
  (org-html-themify-themes
   '((dark . modus-vivendi)
     (light . modus-operandi))))

manually

(add-to-list 'load-path "</path/to/org-html-themify>")

(require 'org-html-themify)

(setq org-html-themify-themes
      '((dark . modus-vivendi)
        (light . modus-operandi)))

(add-hook 'org-mode-hook 'org-html-themify-mode)

Usage

Just export org-mode to HTML files as usual.

Screenshots

with popular Zenburn theme

https://user-images.githubusercontent.com/11796018/104815244-5adc1c00-584e-11eb-84d4-853aa7e15990.png

media query is also supported

https://user-images.githubusercontent.com/11796018/104815463-b5c24300-584f-11eb-8266-b26054cd524c.png

About

Themify org-mode HTML export with installed color theme.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published