Skip to content

Commit 7ebf2a9

Browse files
committed
Merge branch 'slides/md-output-support' into 'master'
pandoc script support for markdown output See merge request feng/training/material!273
2 parents 58a24da + 3b259bf commit 7ebf2a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandoc/pandoc_fe.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ def output_file_name(
122122
def output_format(extension):
123123
if extension == "pdf" or extension == "tex":
124124
return "beamer"
125+
elif extension == "md":
126+
return "markdown"
125127
else:
126128
return extension
127129

0 commit comments

Comments
 (0)