diff --git a/org/html_writer.go b/org/html_writer.go index 3333906..d66e6ef 100644 --- a/org/html_writer.go +++ b/org/html_writer.go @@ -249,6 +249,7 @@ func (w *HTMLWriter) WriteHeadline(h Headline) { } } + w.WriteString(fmt.Sprintf(`
[1/2]
checked
@@ -34,28 +36,42 @@ not just where they are actually meant to be - even here >
TODO
[B]
Headline with todo status & priority
+
we can link to headlines that define a custom_id: #this-will-be-the-id-of-the-headline
+Still outside the drawer
This is inside the drawer
Still outside the drawer
+it's possible to use #+SETUPFILE
- in this case the setup file contains the following
:PROPERTIES: not a property
:END:
+The toc option allows setting a level limit. For this file we set it to 1 - which means that the following headlines won't be included in the table of contents.
+you get the gist…
+neato!
+This is @@ -99,15 +107,23 @@ verse
or even a totally custom kind of block crazy ain't it?
see ./headlines.org
Note that only src/example/export block inclusion is supported for now. There's quite a lot more to include (see the org manual for include files) but I don't have a use case for this yet and stuff like namespacing footnotes of included files @@ -198,10 +214,14 @@ deploy: +
ndash –
@@ -241,17 +267,25 @@ deploy:note that —— is replaced with 2 mdashes and …. becomes ellipsis+. and so on - that's how org also does it
code
wrapped text gets joined
either this
or that
foo.
either this
or that
foo.
this list item @@ -275,22 +309,34 @@ lists
foo
bullet 1
@@ -301,42 +347,72 @@ listscode
— as code plus dash
italics
Text italics
+just a space as title…
+Foo paragraph.
+Bar paragraph
+just like #46
The behaviour of Org mode <s TAB
changed and it now inserts lowercased src blocks (go-org already handled this one)
Hello, I'm writing hugo blogs using org-mode.
When inserting an image link like , hugo doesn't export the image.
@@ -425,22 +521,42 @@ When inserting an image link like
misc fuzz / regression / edge case
+
+
index out of range in headline priority parsing
+
+
[#B
+
+
+
+
index out of range in explicit line break parsing
+
0\\
+
+
+
+
#+OPTIONS:
toggles supported by go-org
go-org
supports multiple export toggles as described in the export settings section of the Org mode manual.
By default (most of?) those toggles are enabled. This file starts with #+OPTIONS: toc:nil f:nil e:nil
and thus
disables the table of contents, footnotes & entities.
@@ -45,3 +47,5 @@ As buffer options are merged with the defaults, the above headline will be expor
+