From 2eb5e64c62d7edf13e48fe6322e4cd1e80765695 Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Fri, 12 Apr 2024 15:42:32 -0500 Subject: htmlize fix --- publish.el | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'publish.el') diff --git a/publish.el b/publish.el index 5513b6f..fe78991 100644 --- a/publish.el +++ b/publish.el @@ -1,3 +1,12 @@ +(require 'package) +(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/")) +(setq package-load-list '((htmlize t))) +(package-initialize) + +(unless (package-installed-p 'htmlize) + (package-refresh-contents) + (package-install 'htmlize)) + (require 'org) (require 'ox-html) (setq org-publish-project-alist -- cgit v1.2.3