Menngunakan SyntaxHighlighter

Contoh penggunaan SyntaxHighlighter

[ cpp highlight="1,2,10-12" title="test.cpp"]

#include <OneWire.h>
#include <EEPROM.h>

#define DEBUG 1

OneWire ds(A1); // This is where DQ of your DS18B20 will connect.
bool validity = false;
void setup(void) {

#ifdef DEBUG
Serial.begin(9600);
#endif

validity = getDeviceAddress();
}
[/cpp]
#include <OneWire.h>
#include <EEPROM.h>

#define DEBUG 1

OneWire  ds(A1);  // This is where DQ of your DS18B20 will connect.
bool validity = false;
void setup(void) {

#ifdef DEBUG
  Serial.begin(9600);
#endif

  validity = getDeviceAddress();
}

Bahasa pemgrograman yang didukung:

actionscript3
bash
clojure
coldfusion
cpp
csharp
css
delphi
diff
erlang
fsharp
groovy
html
java
javafx
javascript
latex (tidak dapat untuk shortcode)
matlab (keywords saja)
objc
perl
php
powershell
python
r (tidak dapat untuk shortcode)
ruby
scala
sql
text
vb
xml