Recent Topics

1 Jun 19, 2009 13:54    

My b2evolution Version: Any

Hmm, anyone who have an HTML highlighter they can share? ^_^

That's all hehe :P

2 Jun 19, 2009 14:11

You could probably play with the XML one ;)

¥

3 Jun 19, 2009 15:04

¥åßßå wrote:

You could probably play with the XML one ;)

¥

Yep, thinking about that as a last resort. The only thing blocking me from doing so is that I can't find a source for the colors T_T (so maybe someone already did one :p )

4 Jun 19, 2009 15:08

All the colours are done with classnames, you can overwrite them in your stylesheet ;)

¥

7 Jun 19, 2009 16:44

Afwas wrote:

dp_syntaxhighlighter plugin supports (among other laguages):

http://code.google.com/p/syntaxhighlighter/wiki/Languages wrote:

XML/HTML: xml, html, xhtml, xslt

You find it [url=https://sourceforge.net/project/showfiles.php?group_id=160495&package_id=293948]here[/url]
More info on dp syntaxhighlighter: http://code.google.com/p/syntaxhighlighter/

Good luck

js reliance? :O wrote:

/**
106 * Loads core script and various language scripts in the Header of the page
107 *
108 */
109 function SkinBeginHtmlHead()
110 {
111 global $baseurl;
112 $plug_url = $this->get_plugin_url();
113 require_js( $plug_url . 'scripts/shCore.js', true );
114 require_js( $plug_url . 'scripts/shBrushCpp.js', true );
115 require_js( $plug_url . 'scripts/shBrushCSharp.js', true );
116 require_js( $plug_url . 'scripts/shBrushCss.js', true );
117 require_js( $plug_url . 'scripts/shBrushDelphi.js', true );
118 require_js( $plug_url . 'scripts/shBrushJava.js', true );
119 require_js( $plug_url . 'scripts/shBrushJScript.js', true );
120 require_js( $plug_url . 'scripts/shBrushPhp.js', true );
121 require_js( $plug_url . 'scripts/shBrushPython.js', true );
122 require_js( $plug_url . 'scripts/shBrushRuby.js', true );
123 require_js( $plug_url . 'scripts/shBrushSql.js', true );
124 require_js( $plug_url . 'scripts/shBrushVb.js', true );
125 require_js( $plug_url . 'scripts/shBrushXml.js', true );
126 require_css( $plug_url . 'styles/SyntaxHighlighter.css', true );
127 }
128

... AND I had to allow SF js just so I could use it's navigation to find that quote :|

¥

8 Jun 19, 2009 16:46

Look how beautifully that's coded. It doesn't even choke *my* blog!

9 Jun 19, 2009 16:55

It'd have to be exceptional coding to be able to choke your blog faster than your host :D

¥


Form is loading...