From 57d93cca563cb162e4126e8738ecda27ce661623 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 17 Sep 2021 09:41:34 -0700 Subject: 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. --- test/command/5178.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/command') 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 ``` -- cgit v1.2.3