@@ -76,8 +76,9 @@ import System.IO.Error (isDoesNotExistError)
7676import Text.Pandoc
7777import Text.Pandoc.Builder (setMeta)
7878import Text.Pandoc.Class (PandocIO, extractMedia, fillMediaBag, getLog,
79− setResourcePath, getMediaBag, setTrace)
79+ setResourcePath, getMediaBag, setTrace, report)
8080import Text.Pandoc.Highlighting (highlightingStyles)
81+import Text.Pandoc.Logging (LogMessage(..))
8182import Text.Pandoc.Lua (runLuaFilter, LuaException(..))
8283import Text.Pandoc.Writers.Math (defaultMathJaxURL, defaultKaTeXURL)
8384import Text.Pandoc.PDF (makePDF)
@@ -444,6 +445,9 @@ convertWithOpts opts = do
444445 Native -> nativeNewline
445446
446447 runIO' $ do
448+ when (readerName == "markdown_github" ||
449+ writerName == "markdown_github") $
450+ report $ Deprecated "markdown_github" "Use gfm instead."
447451 setResourcePath (optResourcePath opts)
448452 doc <- sourceToDoc sources >>=
449453 ( (if isJust (optExtractMedia opts)