mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 11:57:16 +00:00
b2755f77ba
Tabs are now preserved in the contents of *src* blocks if the the block has the `-i` flag. Fixes: #10071
330 B
330 B
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"
]