HTML export: Export #+TITLE as h1 and offset other headlines accordingly
emacs exports #+TITLE as <h1> and all other headlines accordingly as `lvl + 1` - we'll go with that.
This commit is contained in:
parent
b61e49eb85
commit
614307a8f5
8 changed files with 90 additions and 84 deletions
4
org/testdata/options.html
vendored
4
org/testdata/options.html
vendored
|
@ -1,8 +1,8 @@
|
|||
<h1 id="headline-1">
|
||||
<h2 id="headline-1">
|
||||
<span class="todo">DONE</span>
|
||||
<span class="priority">[A]</span>
|
||||
<code class="verbatim">#+OPTIONS:</code> toggles supported by <code class="verbatim">go-org</code>   <span class="tags"><span>tag1</span> <span>tag2</span></span>
|
||||
</h1>
|
||||
</h2>
|
||||
<p>
|
||||
<code class="verbatim">go-org</code> supports multiple export toggles as described in the <a href="https://orgmode.org/manual/Export-settings.html">export settings</a> section of the Org mode manual.
|
||||
By default (most of?) those toggles are enabled. This file starts with <code class="verbatim">#+OPTIONS: toc:nil f:nil e:nil</code> and thus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue