Pygments is a generic syntax highlighter that supports the use of over 500 languages and different text formats. It is widely used for its flexibility and it can be used as a command-line tool as well. It is used mainly for the purpose of code hosting. It can also be used in forums, wikis and different applications for the optimization of source code. Pygments support the use of several output formats. Pygments is based on PHP. It is an open-source project and welcomes contributions from its user base as per the contribution guidelines. It is actively being maintained by George Brandl, Matthรคus Chajdas and Jean Abou-Samra. It provides detailed documentation.
4,264
websites using Pygments
Create a technology report โExport with emails, socials, country, TLD and industry filters
Websites using Pygments by countrymarket share ยท top 8 countries
๐ฉ๐ชGermany
๐ซ๐ทFrance
๐ท๐บRussian Federation
๐บ๐ธUnited States
๐ฌ๐งUnited Kingdom
๐ณ๐ฑNetherlands
๐ฏ๐ตJapan
๐จ๐ณChina
0%1%2%3%4%
Websites using Pygments by industrydetected industries
Software Development50%
Technology & Computing31%
Education6.3%
Shopping5%
Consulting3.8%
Science3.8%
Websites using Pygments
showing 25 of 4,264| Website | Country | Industry | Size | Founded | |
|---|---|---|---|---|---|
| ๐ฏ๐ตJP | - | 1-10 | - | ||
| - | Software Development | 1-10 | - | ||
| ๐ซ๐ทFR | Construction | 1-10 | - | ||
| ๐บ๐ธUS | Science | 501-1000 | - | ||
| - | Software Development | 1-10 | 2006 | ||
| ๐บ๐ธUS | Software Development | 1-10 | 2003 | ||
| ๐ฌ๐งGB | Technology & Computing | 11-50 | 2002 | ||
| ๐ฆ๐นAT | Software Development | 1-10 | 2013 | ||
| - | Software Development | 1-10 | - | ||
| - | Software Development | 1-10 | 1999 | ||
| ๐ฌ๐งGB | Technology & Computing | 51-200 | - | ||
| ๐ง๐ชBE | - | 1-10 | - | ||
| - | Non-profit & Charity | 11-50 | 2001 | ||
| ๐บ๐ธUS | Software Development | 1-10 | 2013 | ||
| ๐ซ๐ทFR | Software Development | 11-50 | 2004 | ||
| ๐บ๐ธUS | Software Development | 1-10 | 1996 | ||
| ๐บ๐ธUS | Aerospace & Defense | 11-50 | - | ||
| ๐บ๐ธUS | Health & Fitness | 1-10 | 2011 | ||
| ๐ฉ๐ชDE | Technology & Computing | 1-10 | 2002 | ||
| ๐ซ๐ทFR | Science | 51-200 | 1987 | ||
| ๐จ๐ณCN | Hardware & Electronics | 51-200 | 2011 | ||
| ๐ฉ๐ชDE | Software Development | 1-10 | 2019 | ||
| ๐ฆ๐ทAR | - | 1-10 | - | ||
| - | Technology & Computing | 11-50 | - | ||
| ๐บ๐ธUS | Software Development | 11-50 | 2002 |
Showing 25 of 4,264 websitesGet the full list โ
Frequently asked
What is Pygments?โบ
Pygments is a popular and versatile syntax highlighter library for Python. It supports a wide range of programming languages and markup formats, and can output highlighted code in various formats like HTML, LaTeX, among others. Pygments makes it easier to display code in a more visually appealing and readable way within your applications or websites.
Which languages are supported by Pygments?โบ
Pygments supports over 500 programming languages and markup formats, including but not limited to Python, JavaScript, C++, Java, HTML, CSS, Go, Ruby, PHP, and many others. The full list of supported languages can be found in the Pygments documentation.
How do I install Pygments?โบ
Pygments can be easily installed using pip, the Python package manager. Simply run the following command in your terminal or command prompt: `pip install pygments`. This should automatically download and install the latest version of Pygments.
How do I use Pygments to highlight my code?โบ
To use Pygments for highlighting code, you first import the required functions from the library, then choose a lexer (based on the language you want to highlight), a formatter (based on the output format you desire), and supply the code to be highlighted. Here's a basic example for highlighting Python code in HTML format:
Can I customize the appearance of highlighted code with Pygments?โบ
Yes, you can customize the appearance of highlighted code by choosing different styles or creating a custom style. Pygments comes with several built-in styles, such as Monokai, Solarized, and many others. You can apply a style using the `HtmlFormatter` like this:
Get the free browser extension
Identify the technology stack of any website instantly, right from your browser.