Testing sharing of source straight off Google Drive

Testing sharing of source straight off Google Drive

 

My good, old text file device drivers that speeds up reading and writing text files.

 

For some reason, I can’t share directly to the Community, but have to share it as a link from the +Share button.

 

#delphi   #source  

Source Code highlighting in Blogger

Oddly enough, Blogger don’t come with any tools to syntax highlight source code. A little web spelunking unearthed a nifty little java-script (syntaxhighlighter by Alex Gorbatchev) that support multiple languages (C++, C#, CSS, Delphi, JS, Java, PHP, Python, Ruby, SQL, VB, XML, HTML). It is fairly easy to add it to your Blogger template, although you need a place to host the scripts and styles.

When the scripts are in the template, all you need to put in Blogger is:



program Demo;
begin
// Say hi
Writeln('Hello World');
end.

… and it shows up as:


program Demo;
begin
// Say hi
Writeln('Hello World');
end.