How to change header depth globally #26
Answered
by
rasendubi
wildwestrom
asked this question in
Q&A
Replies: 1 comment
-
You can use something similar to this:
https://github.com/rasendubi/www.alexeyshmalko.com/blob/9140ab3251804578ed6753ead521ffd3ef54bfbb/src/lib/postprocess.ts#L41
This works on hast tree, so you should use it after uniorg-rehype.
As another option, you can implement a similar transformation on uniorg ast
by increasing the level for all headings
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rasendubi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I make it so that a top-level header
*
in org mode, be rendered as<h2>
? How can I make it so that all heading levels in org mode are pushed down when rendered as markup?I figured if I have
#+TITLE:
, I can use that as my<h1>
instead.Here's what I have in mind:
Beta Was this translation helpful? Give feedback.
All reactions