diff options
author | Jacob Janzen <jjanzenn@proton.me> | 2024-04-15 11:41:19 -0500 |
---|---|---|
committer | Jacob Janzen <jjanzenn@proton.me> | 2024-04-15 11:41:19 -0500 |
commit | 332d3b3395b960afb4008ce03a81ca4c7860cf6f (patch) | |
tree | cf9a708833e288b96180dc5dad9d9a9eb053f1f4 | |
parent | 6bd946899c2290560cf4725bb72f0f1643839efc (diff) |
wrap src lines in dotfiles
-rw-r--r-- | css/stylesheet.css | 27 | ||||
-rw-r--r-- | publish.el | 5 |
2 files changed, 3 insertions, 29 deletions
diff --git a/css/stylesheet.css b/css/stylesheet.css index 2393f8f..3bc204e 100644 --- a/css/stylesheet.css +++ b/css/stylesheet.css @@ -55,30 +55,3 @@ a:hover { text-align: left; } } - -pre { - border: 1px solid #e6e6e6; - border-radius: 3px; - background-color: #f2f2f2; - padding: 8pt; - font-family: monospace; - font-size: 10px; - overflow-x: scroll; - overflow-y: visible; - margin: 1.2em; -} - -pre.src { - position: relative; - overflow: auto; -} - -pre.src:before { - display: none; - position: absolute; - bottom: -16px; - right: 12px; - padding: 3px; - color: #555; - background-color: #f2f2f2; -} @@ -10,10 +10,10 @@ (setq use-package-always-ensure t use-package-expand-minimally t)) -(use-package org - :ensure org-plus-contrib) (use-package ox-rss :after org) +(use-package htmlize + :after org) (require 'org) (require 'ox-html) @@ -115,6 +115,7 @@ :base-extension "org" :html-head "<link rel='stylesheet' href='/css/stylesheet.css' type='text/css'/>" :html-preamble "<div class='topnav'><a href='/'>Home</a><a href='/projects.html'>Projects</a><a href='/blog'>Blog</a><a href='/config.html'>Dotfiles</a><a href='/about.html'>About Me</a><a href='/rss.xml'>RSS</a></div>" + :html-wrap-src-lines t :html-postamble nil :publishing-directory "~/public_html" :publishing-function org-html-publish-to-html |