SyntaxHighlighter
Format:
<pre class="brush:delphi">...</pre>
type TMyClass = class; if i < 0 then begin with DMSystem do Table.Create(); end;google code prettify Format:
<pre class="prettyprint">...</pre>
type TMyClass = class; if i < 0 then begin with DMSystem do Table.Create(); end;
int foo=0; NSLog(@"%i", foo);Links:
http://stackoverflow.com/questions/1852537/how-to-use-prettify-with-blogger-blogspot
http://www.cyberack.com/2007/07/adding-syntax-highlighter-to-blogger.html (but remember to add link to the delphi script)
Some SyntaxHighlighter config examples:
Format:
<pre class="brush: delphi; gutter: false; toolbar: false; highlight: 5">...</pre>
type TMyClass = class; if i < 0 then begin with DMSystem do Table.Create(); end;
Ingen kommentarer:
Legg inn en kommentar