Skip to content

rkennedy/prettify-pascal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 

Repository files navigation

This is a plug-in for the Google Prettify syntax-highlighting library. It highlights Pascal-like languages with a bias toward Delphi.

To use it, include prettify.js and lang-pascal.js from this project in your HTML page. Then put your code in an HTML tag:

<pre class="prettyprint lang-pas">(Pascal code)</pre>

Features and improvements over Prettify's default syntax highlighting:

  • Accepts backslashes inside string literals without treating them like escape characters
  • Recognizes brace-style comments
  • Recognizes character literals (starting with #, not ^)
  • Knows most Delphi reserved words
  • Accepts & for escaping reserved words

About

Google Prettify plug-in for Pascal and Delphi syntax highlighting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published