How can I show a " " in source code? If I try something like this, the "nbsp" is not shown; a whitespace is shown instead.
<pre><nowiki> test = " " </nowiki></pre>
<pre> test = " " </pre>
Results:
test = " "
test = " "
Obviously the " " is being interpreted as a HTML char; maybe the "pre" tag should html-encode it.
&nbsp;
On 3/2/07, Fernando Correia fernandoacorreia@gmail.com wrote:
How can I show a " " in source code? If I try something like this, the "nbsp" is not shown; a whitespace is shown instead.
<pre><nowiki> test = " " </nowiki></pre>
<pre> test = " " </pre>
Results:
test = " "
test = " "
Obviously the " " is being interpreted as a HTML char; maybe the "pre" tag should html-encode it.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
2007/3/2, Jim Wilson wilson.jim.r@gmail.com:
&nbsp;
I see. That requires changing the source code. I was expecting there was some way to show program source code on the wiki without having to change it.
If you're displaying source code, you may want a geshi-based highlighting extension.
This one looks decent:
http://meta.wikimedia.org/wiki/GeSHiCodeTag_Extension
On 3/2/07, Fernando Correia fernandoacorreia@gmail.com wrote:
2007/3/2, Jim Wilson wilson.jim.r@gmail.com:
&nbsp;
I see. That requires changing the source code. I was expecting there was some way to show program source code on the wiki without having to change it.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This one appears to be well documented as well:
http://mercury.it.swin.edu.au/swinbrain/index.php/CodeSyntaxHighlight_MediaW...
On 3/2/07, Jim Wilson wilson.jim.r@gmail.com wrote:
If you're displaying source code, you may want a geshi-based highlighting extension.
This one looks decent:
http://meta.wikimedia.org/wiki/GeSHiCodeTag_Extension
On 3/2/07, Fernando Correia fernandoacorreia@gmail.com wrote:
2007/3/2, Jim Wilson wilson.jim.r@gmail.com:
&nbsp;
I see. That requires changing the source code. I was expecting there was some way to show program source code on the wiki without having to change it.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Please disregard the previous two geshi syntax links - this is the one you should really use:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Highlight/
It's developed by _the_ Brion Vibber himself (It's just not Googlable). It's a shame too, because this is the one I use, and I had assumed it was lost to the annals of history until I decided on a whim to chech SVN. It's really too bad that this isn't documented anywhere ...
-- Jim
On 3/2/07, Jim Wilson wilson.jim.r@gmail.com wrote:
This one appears to be well documented as well:
http://mercury.it.swin.edu.au/swinbrain/index.php/CodeSyntaxHighlight_MediaW...
On 3/2/07, Jim Wilson wilson.jim.r@gmail.com wrote:
If you're displaying source code, you may want a geshi-based highlighting extension.
This one looks decent:
http://meta.wikimedia.org/wiki/GeSHiCodeTag_Extension
On 3/2/07, Fernando Correia < fernandoacorreia@gmail.com> wrote:
2007/3/2, Jim Wilson wilson.jim.r@gmail.com:
&nbsp;
I see. That requires changing the source code. I was expecting there was some way to show program source code on the wiki without having to
change it.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
2007/3/2, Jim Wilson wilson.jim.r@gmail.com:
Please disregard the previous two geshi syntax links - this is the one you should really use:
Thank you for your thoroughness and your helpful answers, Jim.
Maybe it would be good to add it to: http://www.mediawiki.org/wiki/Category:Extensions
Aretai
On 3/2/07, Jim Wilson wilson.jim.r@gmail.com wrote:
Please disregard the previous two geshi syntax links - this is the one you should really use:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Highlight/
It's developed by _the_ Brion Vibber himself (It's just not Googlable). It's a shame too, because this is the one I use, and I had assumed it was lost to the annals of history until I decided on a whim to chech SVN. It's really too bad that this isn't documented anywhere ...
-- Jim
On 3/2/07, Jim Wilson wilson.jim.r@gmail.com wrote:
This one appears to be well documented as well:
http://mercury.it.swin.edu.au/swinbrain/index.php/CodeSyntaxHighlight_MediaW...
On 3/2/07, Jim Wilson wilson.jim.r@gmail.com wrote:
If you're displaying source code, you may want a geshi-based highlighting extension.
This one looks decent:
http://meta.wikimedia.org/wiki/GeSHiCodeTag_Extension
On 3/2/07, Fernando Correia < fernandoacorreia@gmail.com> wrote:
2007/3/2, Jim Wilson wilson.jim.r@gmail.com:
&nbsp;
I see. That requires changing the source code. I was expecting there was some way to show program source code on the wiki without having
to
change it.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
2007/3/5, aretai aretai aretaiuc@gmail.com:
Maybe it would be good to add it to: http://www.mediawiki.org/wiki/Category:Extensions
Agreed. I've created a documentation page:
http://www.mediawiki.org/wiki/Extension:Highlight
I hope this is alright.
Good my loyal squire;) Very good. Put me as one of the authors just after Brion;)
Regards, Knight Aretai
On 3/5/07, Fernando Correia fernandoacorreia@gmail.com wrote:
2007/3/5, aretai aretai aretaiuc@gmail.com:
Maybe it would be good to add it to: http://www.mediawiki.org/wiki/Category:Extensions
Agreed. I've created a documentation page:
http://www.mediawiki.org/wiki/Extension:Highlight
I hope this is alright.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org