mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
9bb705aaba
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>
48 lines
1.4 KiB
INI
48 lines
1.4 KiB
INI
[executable]
|
|
type=FILE_EXE
|
|
|
|
[directory]
|
|
type=DIR
|
|
|
|
[device]
|
|
type=DEVICE
|
|
|
|
[special]
|
|
type=SPECIAL
|
|
|
|
[stalelink]
|
|
type=STALE_LINK
|
|
|
|
[symlink]
|
|
type=SYMLINK
|
|
|
|
[core]
|
|
regexp=^core\\.*\\d*$
|
|
extensions_case=true
|
|
|
|
[temp]
|
|
extensions=~;$$$;bak;part;tmp
|
|
regexp=(^#.*|.*~$)
|
|
|
|
[archive]
|
|
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;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
|
|
|
|
[media]
|
|
extensions=3gp;aac;ac3;ape;asf;avi;dts;flac;flv;it;m3u;m4a;m4v;med;mid;midi;mkv;mod;mol;mov;mp2;mp3;mp4;mpeg;mpg;mpl;ogg;ogv;opus;s3m;ts;umx;vob;wav;webm;wma;wmv;xm
|
|
|
|
[graph]
|
|
extensions=ai;avif;bmp;cdr;eps;gif;ico;jp2;jpeg;jpg;jxl;heic;heif;omf;pcx;pic;png;psb;psd;rle;svg;tif;tiff;webp;wmf;xbm;xcf;xpm
|
|
|
|
[database]
|
|
extensions=cdx;dat;db;dbf;dbi;dbx;fox;mdb;mdn;mdx;msql;mssql;pgsql;sql;ssql
|
|
|
|
# Hardlinks have lowest precenence to make it colored by file type or extension
|
|
[hardlink]
|
|
type=HARDLINK
|