TransWikia.com

Minted highlight like tree command on Konsole

TeX - LaTeX Asked on February 17, 2021

I’m using minted for quite some time when adding code to my latex documents, already tried it with a couple of languages and it works great. Today I tried to print the output of tree command like below. First I did a tree > file.txt to capture the output to a text file.

inputminted[frame=single,fontsize=tiny]{bash}{file.txt}

On linux konsole the output of tree command makes folders and files with different extensions appear in a different color but when I add that to latex document its all black. Is it possible to make minted print the output of tree command on a colorful way?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP