diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2019-05-12 14:19:01 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2019-05-12 14:49:52 +0200 |
commit | da9638e6a372d2707cf10d459b8444292ab9de27 (patch) | |
tree | 7f53cc2a9b0210b2386948f071a66618afc8a357 /test/command/5178.md | |
parent | 5c7ad59ffe7c4e6aec62d16611ccb84a9ce02472 (diff) | |
download | pandoc-da9638e6a372d2707cf10d459b8444292ab9de27.tar.gz |
Org writer: always indent src blocks content by 2 spaces
Emacs always uses two spaces when indenting the content of src blocks,
e.g., when exiting a `C-c '` edit-buffer. Pandoc used to indent contents
by the space-equivalent of one tab, but now always uses two spaces, too.
Closes: #5440
Diffstat (limited to 'test/command/5178.md')
-rw-r--r-- | test/command/5178.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/command/5178.md b/test/command/5178.md index 9df3f6cf8..57aace945 100644 --- a/test/command/5178.md +++ b/test/command/5178.md @@ -7,19 +7,19 @@ unsafePerformIO main ^D #+BEGIN_SRC haskell -n 42 - main = putStrLn "Hello World!" - unsafePerformIO main + main = putStrLn "Hello World!" + unsafePerformIO main #+END_SRC ``` ``` % pandoc -f org -t native #+BEGIN_SRC lisp -n 20 - (+ 1 1) + (+ 1 1) #+END_SRC #+BEGIN_SRC lisp +n 10 - (+ 2 2) + (+ 2 2) #+END_SRC ^D [CodeBlock ("",["commonlisp","numberLines"],[("org-language","lisp"),("startFrom","20")]) "(+ 1 1)\n" @@ -32,10 +32,10 @@ ,CodeBlock ("",["commonlisp","numberLines","continuedSourceBlock"],[("org-language","lisp"),("startFrom","10")]) "(+ 2 2)\n"] ^D #+BEGIN_SRC lisp -n 20 - (+ 1 1) + (+ 1 1) #+END_SRC #+BEGIN_SRC lisp +n 10 - (+ 2 2) + (+ 2 2) #+END_SRC ``` |