A full list of supported languages is available on the plugin's admin page once it has been installed.
Should work on but not tested:
See the plugin's admin page for usage.
I've disabled the use of <script /> blocks to denote areas that should be highlighted.
Copyright 2010 Steve Good (firstname.lastname@example.org)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- December 13, 2010, 2:14 PM
- Steve Withington said:
Man, I have a plugin that is nearly identical to this that I wrote over a year ago ... the problem is, it doesn't work right. Sure, it works the FIRST time you publish the content, but if you ever need to edit the content, CKEditor and FCKEditor mess with the code within the <pre> tags!
For example, try this:
<cfparam name="form.txt" default="" />
<cfparam name="form.isSubmitted" default="false" />
<form method="post" enctype="application/x-www-form-urlencoded">
<p><label for="txt">Text:</label><br />
<input type="text" name="txt" id="txt" size="50" value="#form.txt#" /></p>
<p><input type="submit" value=" Encode It! " /></p>
<input type="hidden" name="isSubmitted" value="true" />
<cfdump var="#stringToAscii(form.txt)#" /><br />
Then, after you publish it, go back in and check out the code in the pre tags.