mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
Ticket #4351: file highlighting: add Markdown.
Add markdown into the document highlighting extensions list, since it's quite popular in many places. While there are many suggested extensions for the file type[1], this commit only adds `.md` and `.markdown` as they are the recommended ones in RFC7763[2] and by the creator themselves[3]. The rest is a hit and miss anyway, with support highly dependant on the underlying system or application, and are used infrequently. [1]https://superuser.com/questions/249436/file-extension-for-markdown-files [2]https://datatracker.ietf.org/doc/html/rfc7763 [3]https://daringfireball.net/linked/2014/01/08/markdown-extension Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
7fe3f4c898
commit
9bb705aaba
@ -28,7 +28,7 @@
|
||||
extensions=7z;Z;ace;apk;arc;arj;ark;bz2;cab;cpio;deb;gz;lha;lz;lz4;lzh;lzma;rar;rpm;tar;tbz;tbz2;tgz;tlz;txz;tzst;xz;zip;zoo;zst
|
||||
|
||||
[doc]
|
||||
extensions=chm;css;ctl;diz;doc;docm;docx;dtd;fodg;fodp;fods;fodt;htm;html;json;letter;lsm;mail;man;me;msg;nroff;odg;odp;ods;odt;pdf;po;ppt;pptm;pptx;ps;rtf;sgml;shtml;tex;text;txt;xls;xlsm;xlsx;xml;xsd;xslt
|
||||
extensions=chm;css;ctl;diz;doc;docm;docx;dtd;fodg;fodp;fods;fodt;htm;html;json;letter;lsm;mail;man;markdown;md;me;msg;nroff;odg;odp;ods;odt;pdf;po;ppt;pptm;pptx;ps;rtf;sgml;shtml;tex;text;txt;xls;xlsm;xlsx;xml;xsd;xslt
|
||||
|
||||
[source]
|
||||
extensions=ada;asm;awk;bash;c;c++;caml;cc;cgi;cpp;cxx;diff;erl;go;h;h++;hh;hi;hpp;hs;inc;jasm;jav;java;js;m4;mak;mjs;ml;mli;mll;mlp;mly;pas;patch;php;phps;pl;pm;prg;py;rb;s;sas;sh;sl;st;swift;tcl;tk;xq
|
||||
|
Loading…
Reference in New Issue
Block a user