🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Conta Get it free
Prettify GC Syntax Highlighter icon
Possivelmente abandonado Tested up to 3.4.2 #1 in google code

Prettify GC Syntax Highlighter

Your code will look exactly like it does on google-code.

Instalações ativas20+10+ nível
Downloads · 30d70▲ +79.5% vs prev. 30d
Classificação4.3/53 comentários
Pontuação da saúde29/100Em risco
Downloads de todos os tempos8.9KSince Feb 2011
Suporte resolvido—Sem tópicos recentes
RequerWP 3.0.5Php qualquer
Downloads · 7d18▼ -25% semana a semana
Nosso veredicto

Considere uma alternativa

Prettify GC Syntax Highlighter shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites, is rated 4.3/5 and was last updated 14 years ago, and scores 29/100 on our health check.

  • Base de usuários pequenas (mais de 20 instalações ativas)
  • Muito poucos comentários até agora
  • Nenhuma atualização em 14 anos
  • Testado apenas até WordPress 3.4 (mais recente é 7.1)

Downloads diários

246Sep 5Oct 19Dec 3
Ontem4
Média diária (1y)1
Dia de pico8Sep 10, 2026
Últimos 12 meses437

Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.

Rankings

Where Prettify GC Syntax Highligh… stands today

WordPress.org Classificações de pesquisa

Posição ao vivo na pesquisa de plugins, top 100
Palavra chavePosiçãoPlugins concorrentesCategoria
google code >100 9,552 Best google code plugins →
prettify #27 39 Best prettify plugins →
Prettify.js #2 3 Best Prettify.js plugins →
syntax highlighter >100 143 Best syntax highlighter plugins →

Adoção da versão

Compartilhamento de sites ativos por lançamento.

  • 1.6100.0%

Divisão de classificação

★★★★★★★★★★ 4.3 from 3 reviews

  • 5★66.7%
  • 4★0.00%
  • 3★33.3%
  • 2★0.00%
  • 1★0.00%

About Prettify GC Syntax Highlighter

From the official readme · v1.6.0

Descrição

This plugin has prettify.js copied directly from google-code source browser. So your code will look exactly like it does on google-code.
CSS is slightly modified to embolden keywords and types.

License

See prettify.js for license details (Apache License 2.0). Other files are available under GPLv2.

Uso

<pre class="prettyprint">
// Put your code here.
</pre>

Or with shortcode:

[code]
// Put your code here.
[/code]

Making Code HTML Safe

The plugin automatically makes highlighted code html-safe:

<pre class="prettyprint">
Anything that goes here will be quoted to appear on the page as-is.
For example: <head></head><body></body>
</pre>

To avoid quoting your code, add dontquote as the first class.

<pre class="dontquote prettyprint">
Remember to quote manually.
For example: &lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;/body&gt;
</pre>

Line Numbering

Line numbdering can be enabled as follows:

<pre class="prettyprint linenums">
// Put your code here.
</pre>

If you want to start with a line number 42, you can do the following:

<pre class="prettyprint linenums:42">
// Put your code here.
</pre>

Highlighting Lines

When line numbering is enabled you can highlight one or several lines of code using the highlight class:

<pre class="prettyprint lang-YOURLANG linenums highlight:2,4">
// line 2
// line 3
// line 4
</pre>

Alternatively you can highlight one or several code segments:

<pre class="prettyprint lang-YOURLANG linenums highlight:1-3,5-6">
// line 2
// line 3
// line 4
// line 5
</pre>

Note: This feature is not available when line numbering is disabled.

Specifying Language

Most of the time the highlighter will do a good job guessing how to highlight the code. However, to achieve the best result, you should specify the language:

<pre class="prettyprint lang-YOURLANG">
// Put your code here.
</pre>

Replace YOURLANG with one of the following:

  • aea
  • agc
  • apollo
  • bsh
  • c
  • cc
  • cl
  • cpp
  • cs
  • csh
  • css-str
  • cv
  • cxx
  • cyc
  • default-markup
  • el
  • fs
  • go
  • hs
  • htm
  • html
  • java
  • js
  • json
  • lisp
  • lua
  • m
  • ml
  • mxml
  • perl
  • pl
  • pm
  • proto
  • py
  • rb
  • scala
  • scm
  • sh
  • sql
  • vhd
  • vhdl
  • wiki
  • xhtml
  • xml
  • xsl
  • yaml
  • yml

Shortcode

Here is a quick example. All the parameters are optional.

[code lang=”scala” start=”1″ highlight=”1-3,6,10-14″ background=”#C0FFB3″]
// Put your code here.
[/code]

Html quoting can be disabled as follows:

[code quote=”false”]
// Put your code here.
[/code]

The contents of shortcodes is auto-formatted by WP. As a result <p> and <br/> tags along
with some formatting will be lost. If you need to preseve the original formatting use
html notation instead of the shortcode.

Please Support

If you like Prettify GC Syntax Highlighter plugin, please donate a minute of your time and vote for it. Thank you!

Instalação

You can use the WordPress plugin installer:

  1. Go to: WpAdim -> Plugins -> Add New -> Upload.
  2. Simply upload the zip file and then click ‘Activate’.

Or you can install the plugin manually:

  1. Upload the content of the zip file to the /wp-content/plugins/ directory.
  2. Then activate the plugin through the ‘Plugins’ menu in WordPress.

Log de Changes

Fixed WP warning messages.

1.6.0

  • Fixed “wp_register_style was called incorrectly” warnings.

1.5.1

  • Fixed line highlight indices when using linenums.
  • Added shortcodes.

1.4

  • Added an option to highlight one or serveral lines of code.

1.3.1

  • Updated the language list.
  • Improved documentation.

1.2

  • Improved htlm-friendly quote filter.
  • Added line numbering support.
  • Added overflow support.

1.1

  • The first public version.

Registro de change completo em WordPress.org →

Capturas de tela

How to use and a short example.
How to use and a short example.
A larger example with line numbers.
A larger example with line numbers.

Para desenvolvedores

Este é o seu plugin? Mostre os números.

Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.

Selo de Instalações Ativas Selo de classificação Distintivo de pontuação de saúde

FAQ

Prettify GC Syntax Highlighter: quick answers

Respostas diretas, extraídas de dados ao vivo WordPress.org.

Fonte: WordPress.org

Is Prettify GC Syntax Highlighter free?

Yes. Prettify GC Syntax Highlighter is free to download and use from the official WordPress.org plugin directory.

Is Prettify GC Syntax Highlighter safe to use in 2026?

Prettify GC Syntax Highlighter shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites, is rated 4.3/5 and was last updated 14 years ago, and scores 29/100 on our health check.

How many websites use Prettify GC Syntax Highlighter?

Prettify GC Syntax Highlighter is active on 20+ WordPress websites and has been downloaded 8,901 times since it launched in February 2011. It was downloaded 70 times in the last 30 days.

Does Prettify GC Syntax Highlighter work with WordPress 7.1?

Prettify GC Syntax Highlighter is officially tested up to WordPress 3.4.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Prettify GC Syntax Highlighter last updated?

The latest version, 1.6.0, was released on August 28, 2012 (14 years ago).

Who makes Prettify GC Syntax Highlighter?

Prettify GC Syntax Highlighter is developed and maintained by lexn.

Alimentado por PageForge

Um modelo e uma planilha. Uma página real para cada pesquisa.

PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.

  • CSV e XLSX, mais Google Sheets em Profissional e Empresarial
  • Seu próprio título, URL, SEO campos e esquema para cada página
  • Funciona com o editor de blocos, Elementor, Divi e Avada
  • Gratuito em WordPress.org, sem cartão de crédito

↑↓ mover↵ abrir