aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorTEC <tec@tecosaur.com>2020-11-18 02:06:30 +0800
committerAlbert Krewinkel <albert+github@zeitkraut.de>2020-11-18 14:48:56 +0100
commit0306eec5fa3591fc864d9e2e3c0b84a1229509e6 (patch)
treecb2e769efb85b4a51be1b572c478117a7d1529ac /test/command
parent224a501b29248a56bfb05f8092ea6db81b838f59 (diff)
downloadpandoc-0306eec5fa3591fc864d9e2e3c0b84a1229509e6.tar.gz
Replace org #+KEYWORDS with #+keywords
As of ~2 years ago, lower case keywords became the standard (though they are handled case insensitive, as always): https://code.orgmode.org/bzg/org-mode/commit/13424336a6f30c50952d291e7a82906c1210daf0 Upper case keywords are exclusive to the manual: - https://orgmode.org/list/871s50zn6p.fsf@nicolasgoaziou.fr/ - https://orgmode.org/list/87tuuw3n15.fsf@nicolasgoaziou.fr/
Diffstat (limited to 'test/command')
-rw-r--r--test/command/3706.md16
-rw-r--r--test/command/4186.md16
-rw-r--r--test/command/5178.md20
3 files changed, 26 insertions, 26 deletions
diff --git a/test/command/3706.md b/test/command/3706.md
index db50f8f68..b6c2c6db1 100644
--- a/test/command/3706.md
+++ b/test/command/3706.md
@@ -2,12 +2,12 @@ Results marker can be hidden in block attributes (#3706)
```
pandoc -f org -t native
-#+BEGIN_SRC R :exports results :colnames yes
+#+begin_src r :exports results :colnames yes
data.frame(Id = 1:3, Desc = rep("La",3))
-#+END_SRC
+#+end_src
-#+CAPTION: Lalelu.
-#+LABEL: tab
+#+caption: Lalelu.
+#+label: tab
#+RESULTS:
| Id | Desc |
|----+------|
@@ -49,12 +49,12 @@ pandoc -f org -t native
```
pandoc -f org -t native
-#+BEGIN_SRC R :exports none :colnames yes
+#+begin_src R :exports none :colnames yes
data.frame(Id = 1:2, Desc = rep("La",2))
-#+END_SRC
+#+end_src
-#+CAPTION: Lalelu.
-#+LABEL: tab
+#+caption: Lalelu.
+#+label: tab
#+RESULTS:
| Id | Desc |
|----+------|
diff --git a/test/command/4186.md b/test/command/4186.md
index 2345b0350..8c0d04a31 100644
--- a/test/command/4186.md
+++ b/test/command/4186.md
@@ -1,8 +1,8 @@
```
% pandoc -f org -t native
-#+BEGIN_EXAMPLE -i
+#+begin_example -i
This should retain the four leading spaces
-#+END_EXAMPLE
+#+end_example
^D
[CodeBlock ("",["example"],[]) " This should retain the four leading spaces\n"]
```
@@ -10,10 +10,10 @@
```
% pandoc -f org -t html
- depth 1
- #+NAME: bob
- #+BEGIN_EXAMPLE -i
+ #+name: bob
+ #+begin_example -i
Vertical alignment is four spaces beyond the appearance of the word "depth".
- #+END_EXAMPLE
+ #+end_example
- depth 2
#+begin_example
Vertically aligned with the second appearance of the word "depth".
@@ -27,10 +27,10 @@
inner list element.
#+end_example
Still inside the inner list element
- #+NAME: carrie
- #+BEGIN_EXAMPLE
+ #+name: carrie
+ #+begin_example
This belongs to the outer list element, and is aligned accordingly, since the NAME attribute is not indented deeply enough. It is not enough for the BEGIN alone to be aligned deeply if the block is meant to have a NAME.
- #+END_EXAMPLE
+ #+end_example
Still in the shallower list element since the preceding example
block forced the deeper list element to terminate.
Outside all lists.
diff --git a/test/command/5178.md b/test/command/5178.md
index 57aace945..856f86abc 100644
--- a/test/command/5178.md
+++ b/test/command/5178.md
@@ -6,21 +6,21 @@
main = putStrLn "Hello World!"
unsafePerformIO main
^D
-#+BEGIN_SRC haskell -n 42
+#+begin_src haskell -n 42
main = putStrLn "Hello World!"
unsafePerformIO main
-#+END_SRC
+#+end_src
```
```
% pandoc -f org -t native
-#+BEGIN_SRC lisp -n 20
+#+begin_src lisp -n 20
(+ 1 1)
-#+END_SRC
+#+end_src
-#+BEGIN_SRC lisp +n 10
+#+begin_src lisp +n 10
(+ 2 2)
-#+END_SRC
+#+end_src
^D
[CodeBlock ("",["commonlisp","numberLines"],[("org-language","lisp"),("startFrom","20")]) "(+ 1 1)\n"
,CodeBlock ("",["commonlisp","numberLines","continuedSourceBlock"],[("org-language","lisp"),("startFrom","10")]) "(+ 2 2)\n"]
@@ -31,11 +31,11 @@
[CodeBlock ("",["commonlisp","numberLines"],[("org-language","lisp"),("startFrom","20")]) "(+ 1 1)\n"
,CodeBlock ("",["commonlisp","numberLines","continuedSourceBlock"],[("org-language","lisp"),("startFrom","10")]) "(+ 2 2)\n"]
^D
-#+BEGIN_SRC lisp -n 20
+#+begin_src lisp -n 20
(+ 1 1)
-#+END_SRC
+#+end_src
-#+BEGIN_SRC lisp +n 10
+#+begin_src lisp +n 10
(+ 2 2)
-#+END_SRC
+#+end_src
```