googlearchive / code-prettify

An embeddable script that makes source-code snippets in HTML prettier.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pre tags with different languages

ORESoftware opened this issue · comments

Is there something like this?

<pre lang="java" class="prettyprint">class Voila {
public:
  static const string VOILA = "Voila";
}</pre>

<pre lang="js" class="prettyprint">class Voila {
public:
  static const string VOILA = "Voila";
}</pre>

<pre lang="python" class="prettyprint">class Voila {
public:
  static const string VOILA = "Voila";
}</pre>

where different language highlighting is applied to different pre blocks?

nvm it's in the readme