Skip to content

Eiffel language module for google-code-prettify javascript syntax highlighter.

Notifications You must be signed in to change notification settings

pgcrism/google-code-prettify-eiffel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Google-code-prettify : Eiffel language plugin

Introduction

[Google-code-prettify] (https://code.google.com/p/google-code-prettify/) is a Javascript module and CSS file that allows syntax highlighting of source code snippets in an html page.

This plugin adds syntax highlighting for the Eiffel language (see eiffel.org).

status: beta

Content

- Readme.md		this file
+ src
	- lang-eiffel.js	prettify module, defining lexeme classes
+ examples
	- eiffel.html		a sample file
+ styles
	- lang-eiffel.css	sample stylesheet

Using this module in your html

  1. In the <head> portion, reference

  2. Initialize the prettify module by calling 'prettyPrint()'

    • e.g: <body onload="prettyPrint()">
  3. Trigger pretty printing in your <pre> nodes

    • e.g: <pre class="prettyprint lang-eiffel">
    • or with line numbering: <pre class="prettyprint lang-eiffel linenums">

About

Eiffel language module for google-code-prettify javascript syntax highlighter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published