From 37d33c120656072472beba8bf3cf70e1d13ae14a Mon Sep 17 00:00:00 2001
From: Niklas Fasching
list item 2
#+END_EXAMPLE
\n%s\n
\n", lang, content))
case name == "EXAMPLE":
w.WriteString(`` + "\n" + content + "\n
\n")
case name == "EXPORT" && len(b.Parameters) >= 1 && strings.ToLower(b.Parameters[0]) == "html":
diff --git a/org/testdata/blocks.html b/org/testdata/blocks.html
index ed270fe..253f2fe 100644
--- a/org/testdata/blocks.html
+++ b/org/testdata/blocks.html
@@ -1,4 +1,5 @@
echo "a bash source block"
@@ -10,15 +11,18 @@ function hello {
hello
a source block without a language
an example block with
multiple lines including
@@ -120,11 +124,13 @@ this unindented line is outside of the list item
#+BEGIN_EXAMPLE
+echo "i have a caption!"
like blocks
++other non-plain
diff --git a/org/testdata/headlines.html b/org/testdata/headlines.html index 3c491e4..6dc8805 100644 --- a/org/testdata/headlines.html +++ b/org/testdata/headlines.html @@ -68,9 +68,11 @@ headline with custom status
it's possible to use #+SETUPFILE
- in this case the setup file contains the following
diff --git a/org/testdata/keywords.html b/org/testdata/keywords.html index 135c47e..406be0d 100644 --- a/org/testdata/keywords.html +++ b/org/testdata/keywords.html @@ -1,8 +1,9 @@+#+TODO: TODO DONE CUSTOM #+EXCLUDE_TAGS: noexport custom_noexport
echo "a bash source block with custom html attributes"
+
and another subitem
+
echo with a block
+
@@ -131,11 +133,13 @@ term
+echo "Hello World!"
diff --git a/org/testdata/misc.html b/org/testdata/misc.html index 0ec917c..a925348 100644 --- a/org/testdata/misc.html +++ b/org/testdata/misc.html @@ -114,6 +114,7 @@ for now files can be included as:
src block
++#+SETUPFILE: setup_file_org @@ -146,6 +147,7 @@ this headline and it's content are not exported as it is marked with an =EXC By default =EXCLUDE_TAGS= is just =:noexport:=.
@@ -390,11 +392,13 @@ inline code --
---
a
src/example/export blocks should not be converted!
++--, ---
--, ---@@ -423,21 +427,25 @@ The behaviour of Org mode
<s TAB
changed and it
lowercased:
++uname -a
uppercased
++uname -a
(defun small-shell () @@ -465,6 +474,7 @@ When inserting an image link likeFootnotes