SyntaxHighlighter – SMF

Author:Manfred Mod Name:Syntax Highlighter   Version:1.0
Tested:1.1.7, 1.1.8, 1.1.9, 1.1.10


This mod will install Syntax Highlighter version 1.0

Syntax Highlighter 1.0
- SyntaxHighlighter is a fully functional self-contained code syntax highlighter developed in JavaScript. To get an idea of what SyntaxHighlighter is capable of, have a look at the demo.

The project was started in 2004 and since then has gained a lot of acceptance. Version 2.0 is the new page in history of the project representing a near complete rewrite, clean up, optimization, standard compliance and new features.

- Current SyntaxHighlighter version: 1.5.2

SFM 1.1.7, 1.1.8, 1.1.9, 1.1.10 Supported Themes
- Default

Supported Languajes by SyntaxHighlighter
- C++, C#, CSS, Delphi, Java, Java Script, PHP, Python, Ruby, Sql, VB, XML/HTML

How to use it?
- Using the code bbc tag as is describe below:

//the code is here

Where the “alias” can be replaced by the languajes alias:
cpp, c, c++, c#, c-sharp, csharp, css, delphi, pascal, java, js, jscript, javascript, php, py, python, rb, ruby, rails, ror, sql, vb, vb.net, xml, html, xhtml, xslt

- Examples:

 System.out.println("this is java!");
 echo "this is a String in Php"; 

Credits
- The SyntaxHighlighter was coded by alexgorbatchev.com
- SyntaxHighlighter and SMF integration was coded by Delibertad.com

If you have any doubt about SyntaxHighlighter you can visit http://code.google.com/p/syntaxhighlighter/

————————————————————————————————–

Autor:Manfred Nombre del mod:Syntax Highlighter   Version:1.0
Probado en:1.1.7, 1.1.8, 1.1.9, 1.1.10


Este mod instalará Syntax Highlighter version 1.0

Syntax Highlighter 1.0
- SyntaxHighlighter es un contenedor de codigo enteramente funcional desaroolado en Javascript. Para tener una idea de lo que SyntaxHighlighter  es capaz de hacer, puesdes hechar un vistazo a este demo.

- Current SyntaxHighlighter version: 1.5.2

SFM 1.1.7, 1.1.8, 1.1.9, 1.1.10 Supported Themes
- Default

SFM 1.1.7, 1.1.8, 1.1.9, 1.1.10 Supported Themes
- Default

Lenguajes soportados por SyntaxHighlighter
- C++, C#, CSS, Delphi, Java, Java Script, PHP, Python, Ruby, Sql, VB, XML/HTML

How to use it?
- Usar la etiqueta code como se describe abajo:

//the code is here

Donde “alias” can ser reemplazado por los siguientes alias:
cpp, c, c++, c#, c-sharp, csharp, css, delphi, pascal, java, js, jscript, javascript, php, py, python, rb, ruby, rails, ror, sql, vb, vb.net, xml, html, xhtml, xslt

- Ejemplos:

 System.out.println("this is java!");
 echo "Esto es String en Php"; 

Creditos
- SyntaxHighlighter fue desarrollado por alexgorbatchev.com
- La integracion de SyntaxHighlighter y SMF fue desarrollado Delibertad.com

Si usted tiene alguna duda con SyntaxHighlighter puede visitar http://code.google.com/p/syntaxhighlighter/
SyntaxHighlighter_1-0.zip

15 comments

  1. Is there any chance you can get this working for SMF 1.1.11 ??

  2. @Al
    No, it does not need make any change to get this working on 1.1.x version

  3. Thanks, but the download link does not seem to work!

  4. @Al ,

    Try again the link, I have updated it. :)

  5. Thanks! But I keep getting this error!

    2. Execute Modification ./Sources/Subs.php Test failed

    :(

  6. @Al,
    Let me know where I can download your ./Sources/Subs.php file. If you prefer you can reply my last email whit this file attached. By this way I can modify it for you.

  7. Okay it has installed … but it does not work my friend!

    It just doesnt do anything.

  8. Could you let me know your board ulr? to doble check

  9. Just emailed you!

  10. Thanks so much for helping me out! It works perfectly on my forum :)

    Cheerz!

  11. Holas, perfecto mod. Pero cómo hago para instalarlo en un Theme distinto.

  12. Hola @darvein,

    Estoy modificando el mod para que sea lo mas generico posible con respecto a los temas.
    Para el sabado ya te puedes dar una vuelta por aca y descargarlo actualizado :)

    Pura vida

  13. paul vickers

    First, thanks for a great tool. I am trying to add a brush for AactionScript 3.0 to my SMF site. I have created the shBrushAS3.js file using the same layout as the other .js files and I have added the brush name to Subs.php, but it still doesn’t work. Is there something else I should be doing?

  14. paul vickers

    Nevermind, I have worked it out now.

  15. que tengo que hacer para sincronizar este con la nueva versión que es la 3

Leave a Reply