aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-09-17 09:41:34 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-09-17 09:41:34 -0700
commit57d93cca563cb162e4126e8738ecda27ce661623 (patch)
tree28036a1cfde655135c3dde397006bd3ec6856405 /test/command
parent1487ee01fd1209217de4d21e6c459ca8a1bcea36 (diff)
downloadpandoc-57d93cca563cb162e4126e8738ecda27ce661623.tar.gz
Org writer: don't indent contents of code blocks.
We previously indented them by two spaces, following a common convention. Since the convention is fading, and the indentation is inconvenient for copy/paste, we are discontinuing this practice. Closes #5440.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/5178.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/command/5178.md b/test/command/5178.md
index 856f86abc..feb2c4b99 100644
--- a/test/command/5178.md
+++ b/test/command/5178.md
@@ -7,8 +7,8 @@
unsafePerformIO main
^D
#+begin_src haskell -n 42
- main = putStrLn "Hello World!"
- unsafePerformIO main
+main = putStrLn "Hello World!"
+unsafePerformIO main
#+end_src
```
@@ -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
```