• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Weird class: class="brush:js; html-script:true;"

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I learn CSS and JS. While I was looking for syntax highlighting and I met with this classname, strange for me.

What do colon and semicolon mean in this position? and how can I put a own classname within this?

class="myclass brush:js; html-script:true;" doesn't work.

Thanks.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where did you see this? Some context would be nice. Otherwise we can only guess.

Martin Garrido wrote:class="myclass brush:js; html-script:true;" doesn't work.


Define "doesn't work". Please read ItDoesntWorkIsUseless.
 
Martin Garrido
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Bear Bibeault wrote:Where did you see this? Some context would be nice. Otherwise we can only guess.

Martin Garrido wrote:class="myclass brush:js; html-script:true;" doesn't work.


Define "doesn't work". Please read ItDoesntWorkIsUseless.



style of "myclass" has no effect with: class="myclass brush:js; html-script:true;"

<pre class="brush:js;"> and other tags in head must be placed to syntax highlight with software syntaxhighlighter.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looks like some program using class to hold information instead of using attributes or html5 data. Nothing special there.

Eric
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic