[PYTHON] Syntax highlighting on the command line using Pygments

Pygments is often used for syntax highlighting on HTML, but it also has a formatter other than HTML.

If you want to view the contents of a file on the terminal, but don't want to launch a full-screen editor such as vim, run pygments filename and the file will be syntax highlighted and displayed on the terminal.

Recommended Posts

Syntax highlighting on the command line using Pygments
Operate Route53 on the command line using AWS-CLI.
Keep getting RSS on the command line
You search commandlinefu on the command line
Quickly display the QR code on the command line
Arduino development on the command line: vim + platformio
Convert XLSX to CSV on the command line
Think about the selective interface on the command line
Broadcast on LINE using python
Search for large files on Linux from the command line
Using cgo with the go command
Notes on using matplotlib on the server
Python standard module that can be used on the command line
[Python] I tried to make a simple program that works on the command line using argparse.
Get, test, and submit test cases on the command line in the AtCoder contest
Notes on using OpenCL on Linux on the RX6800
Execute the COPY command using python's Psycopg
Look up your Mac's Wi-Fi network name (SSID) on the command line
Correspondence memo when the direction key cannot be used on the python command line
Automatically write admin.py using the django-extensions admin_generator command
Python: Try using the UI on Pythonista 3 on iPad
Try using LINE Notify for the time being
The story of misreading the swap line of the top command
My thoughts on python2.6 command line app template
Sound the buzzer using python on Raspberry Pi 3!
Create a GUI on the terminal using curses
How to pass arguments when invoking python script from blender on the command line
Steps to use the AWS command line interface (Python / awscli) on Mac OS X
How to create an article from the command line
Open Chrome version of LINE from the command line [Linux]
Try using the temperature sensor (LM75B) on the Raspberry Pi.
Drawing on Jupyter using the plot function of pandas
Post to your account using the API on Twitter
Execute the command on the web server and display the result
Command line collection for using virtual environment in Anaconda
Make Python segfault on one line without using ctypes
I want to automate ssh using the expect command!
Multiply PDF by OCR on command line on Linux (Ubuntu)
(Remember quickly) How to use the LINUX command line
I tried to notify the honeypot report on LINE