highlight Extensions

Discuss PivotX 2.0.x extensions here, and view extensions that are available for download.

highlight Extensions

Postby leandrocpo » Fri May 09, 2014 1:17 pm

My contribution

Use Highlight.js (http://highlightjs.org) in PivotX
Attachments
highlight.rar
Highlight Extensions
(84.45 KiB) Downloaded 446 times
leandrocpo
 
Posts: 6
Joined: Thu May 08, 2014 2:01 pm
Location: Brazil

Re: highlight Extensions

Postby Harm10 » Sat May 10, 2014 9:47 am

Is this something different than the already existing Syntax Highlight extension?

You did have a look at some pointers for new extensions on http://book.pivotx.net/page/3-1?
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2010
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: highlight Extensions

Postby leandrocpo » Sat May 10, 2014 5:20 pm

Yes, it is different from Syntax Highlight extension.

"Highlight.js highlights syntax in code examples on blogs, forums and,
in fact, on any web page. It's very easy to use because it works
automatically: finds blocks of code, detects a language, highlights it. "

Its use is simple:
Demo: http://codigoeprosa.6te.net/?e=8&previewtoken=3a4129a519bc03e9def9e07cf0080aef

Code: Select all
<pre><code>
 body, td, pre {color:#000; font-family:Tahoma, Arial, Helvetica, sans-serif; }
  body {background:#FFF;}
  body.mceForceColors {background:#FFF; color:#000;}
  h1 {font-size: 2em}
  h2 {font-size: 1.5em}
  h3 {font-size: 1.17em}
</code></pre>
leandrocpo
 
Posts: 6
Joined: Thu May 08, 2014 2:01 pm
Location: Brazil

Re: highlight Extensions

Postby Harm10 » Sat May 10, 2014 6:29 pm

Do you want to submit it as an official extension?
I should add that development on PivotX has stopped for a while now. Only bugs are looked at right now.

If you want to submit it I could have a brief look and check your code to see whether it works correctly and whether it follows the rules we've set.
If it passes that it will be added to the official extension site.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2010
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: highlight Extensions

Postby leandrocpo » Sat May 10, 2014 8:34 pm

Yes, I would like to make available for download.
leandrocpo
 
Posts: 6
Joined: Thu May 08, 2014 2:01 pm
Location: Brazil

Re: highlight Extensions

Postby Harm10 » Sat May 10, 2014 11:11 pm

Alright I will have a look and mail you the results.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2010
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)


Return to 2.x Extensions

Who is online

Users browsing this forum: No registered users and 3 guests

cron