File: 10071.md

package info (click to toggle)
haskell-pandoc 3.7.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 24,532 kB
  • sloc: haskell: 86,819; xml: 4,325; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 330 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Leading tabs must be preserved in org mode *src* blocks with the `-i`
flag when pandoc is called with `-p`/`--preserve-tabs`.

```
% pandoc -f org -t native --preserve-tabs
#+begin_src makefile -i
%.o: %.cpp
	$(CXX)	-o	$@	$<
#+end_src
^D
[ CodeBlock
    ( "" , [ "makefile" ] , [] )
    "%.o: %.cpp\n\t$(CXX)\t-o\t$@\t$<\n"
]
```