mcat
all
Parse, convert, and preview files (including Markdown), directories, images, and videos.
More info →Options (5)
-t, --themebooleanDisplay a Markdown file with a specific theme
Example:
mcat {{[-t|--theme]}} {{theme_name}} {{path/to/file.md}}-ibooleanDisplay an image or video inline
Example:
mcat {{[-i|--output inline]}} {{path/to/file}}-o, --outputbooleanConvert a file to a specific format (e.g. `html`, `md`, `image`)
Example:
mcat {{[-o|--output]}} {{format}} {{path/to/file}}-a, --hiddenbooleanList the contents of a directory, including hidden files
Example:
mcat {{[-a|--hidden]}} {{path/to/directory}}-PbooleanDisplay content without paging
Example:
mcat {{[-P|--paging never]}} {{path/to/file}}Examples (7)
Display the contents of a file
mcat path/to/fileDisplay a Markdown file with a specific theme
mcat [-t|--theme] theme_name path/to/file.mdDisplay an image or video inline
mcat [-i|--output inline] path/to/fileConvert a file to a specific format (e.g. `html`, `md`, `image`)
mcat [-o|--output] format path/to/fileList the contents of a directory
mcat path/to/directoryList the contents of a directory, including hidden files
mcat [-a|--hidden] path/to/directoryDisplay content without paging
mcat [-P|--paging never] path/to/filemade by @shridhargupta | data from tldr-pages