Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
syntaxHighlighter plugin
#12
OK as I see this post about Highlighter

Quote:http://get-simple.info/forum/post/11340/#p11340

I think yours Connie.

Quote:- you need to load the original Syntaxhighlighter Script from
http://alexgorbatchev.com/SyntaxHighlig … iguration/

I uploaded it to admin/templates/js/syntaxhighligter

- the best would be to create a special template for pages with code and add this to the header.

Quote:- after the content in the template, you must add:

<script type="text/javascript">
SyntaxHighlighter.all()
</script>

in your template

I think that is not SIMPLE but this call it whatever you want plugin I wrote. You can skip this steps. You do not need to modify template file that is purpose of this plugin. And I think this is an easy way.

About:
Quote:If I ware arrogant, I would not contribute in a forum at all, I would keep my knowledge (and questions) for me and share nothing with others.

I think that contribution and arrogance have nothing in common. Arrogance is attitude in relations with other people and have nothing in common with other person characteristics. I know a lot of people that are excellent persons but arrogance make that people think they are not.
Reply


Messages In This Thread
syntaxHighlighter plugin - by bogyvet - 2011-05-03, 08:02:42
syntaxHighlighter plugin - by Connie - 2011-05-03, 16:13:16
syntaxHighlighter plugin - by Connie - 2011-05-03, 16:43:46
syntaxHighlighter plugin - by bogyvet - 2011-05-11, 04:03:09
syntaxHighlighter plugin - by Connie - 2011-05-11, 05:38:25
syntaxHighlighter plugin - by hameau - 2011-05-11, 05:57:18
syntaxHighlighter plugin - by Connie - 2011-05-11, 16:07:08
syntaxHighlighter plugin - by hameau - 2011-05-12, 03:57:05
syntaxHighlighter plugin - by bogyvet - 2011-05-12, 09:50:22
syntaxHighlighter plugin - by Connie - 2011-05-12, 16:00:25
syntaxHighlighter plugin - by hameau - 2011-05-12, 16:46:44
syntaxHighlighter plugin - by bogyvet - 2011-05-13, 06:31:23



Users browsing this thread: 1 Guest(s)