git.iko.soy/typeable/pandoc
on master help sign in
Update org supported languages and identifiers
224a501TEC
src/Text/Pandoc/Writers/Org.hs+11−7
@@ -439,18 +439,22 @@ pandocLangToOrg :: Text -> Text
439pandocLangToOrg cs =
439pandocLangToOrg cs =
440 case cs of
440 case cs of
441 "c" -> "C"
441 "c" -> "C"
442− "cpp" -> "C++"
443 "commonlisp" -> "lisp"
442 "commonlisp" -> "lisp"
444 "r" -> "R"
443 "r" -> "R"
445− "bash" -> "sh"
444+ "bash" -> "shell"
445+ "lillypond" -> "ly"
446 _ -> cs
446 _ -> cs
447
447
448-- | List of language identifiers recognized by org-mode.
448-- | List of language identifiers recognized by org-mode.
449orgLangIdentifiers :: [Text]
449orgLangIdentifiers :: [Text]
450orgLangIdentifiers =
450orgLangIdentifiers =
451− [ "asymptote", "awk", "C", "C++", "clojure", "css", "d", "ditaa", "dot"
451+ [ "abc", "asymptote", "awk", "axiom", "C", "cpp", "calc", "clojure","comint"
452− , "calc", "emacs-lisp", "fortran", "gnuplot", "haskell", "java", "js"
452+ , "coq", "css", "D", "ditaa", "dot", "ebnf", "elixir", "eukleides", "fomus"
453− , "latex", "ledger", "lisp", "lilypond", "matlab", "mscgen", "ocaml"
453+ , "forth", "F90", "gnuplot", "Translate", "groovy", "haskell" , "browser"
454+ , "request", "io", "ipython", "J", "java", "js", "julia", "kotlin", "latex"
455+ , "ledger", "ly", "lisp", "Flavored", "makefile", "mathematica", "mathomatic"
456+ , "matlab", "max", "mongo", "mscgen", "cypher", "Caml", "octave" , "org", "oz"
454− , "octave", "org", "oz", "perl", "plantuml", "processing", "python", "R"
457+ , "perl", "picolisp", "plantuml", "processing", "prolog", "python" , "R"
455− , "ruby", "sass", "scheme", "screen", "sed", "sh", "sql", "sqlite"
458+ , "rec", "ruby", "sass", "scala", "scheme", "screen", "sed", "shell", "shen"
459+ , "sql", "sqlite", "stan", "ML", "stata", "tcl", "typescript", "vala"
456 ]
460 ]