Hot answers tagged

2 votes
Accepted

Org #+INCLUDE: turning what I want to be a 2nd level header into a 1st level header

You have to use the :minlevel option on the #+INCLUDE: line to get b.org to start at the second level (the corollary is that you might as well not worry about the levels in b.org itself): main.org: #...
NickD's user avatar
  • 29.3k
2 votes
Accepted

How do I get the org HTML exporter to indent headings?

This is a CSS question (most formatting questions in HTML are CSS questions) and your CSS is syntactically suspect. Try this: #+HTML_HEAD_EXTRA: <style> pre.src { background-color: #202020; ...
NickD's user avatar
  • 29.3k
1 vote
Accepted

How do I change Org's HTML code background?

Summarizing amitp's and NickD's comments: Do not modify your .emacs file. It's sufficient to add #+HTML_HEAD_EXTRA: <style> pre.src { background-color: black; color: white; }</style> in ...
Sam7919's user avatar
  • 349
1 vote
Accepted

How to debug collision between elpy and htmlize during org-export

There is no obvious link with elpy package in your settings. Two small modifications of your code seems to be needed: In your org file you need: #+BEGIN_SRC sh only. In your init file, you need to ...
Ian's user avatar
  • 1,468

Only top scored, non community-wiki answers of a minimum length are eligible