Source Code Formatting
-
@bermonruf and other predecessors in this thread,
i don’t know about you guys, but being in this thread kind of feels like being stranded on a desert island :D
i mean, there are even no “yellow” posts from staff – stuff that happens when it is beyond the scope of the forum. something that says “we are working on it” maybe? :D
-
-
> When I post with an amperstand without Rich Text Editor, it transforms this amperstand in the HTML entity.
that’s just how it works.
not sure if anyone but its developers could be of any help here. so, submit a feedback and, please, post back here if/when this issue is resolved.
alternatively, if you can live w/o some fancy highlighting, just wrap your code into styled scrollable PRE element tags.
I believe there should be ruby2html encoders, so you could add highlighting as well. of course, it’ll be totally a DIY thing then, but done well instead.
-
The html entities issues should be fixed (both the & -> & and the non-ascii character issues).
-
Is this feature only available on WordPress.com?
I just upgraded my blog to 2.3 and no matter what combo I use I cannot get this thing to work.
I have tried adding it with the visual editor both off and on (creating new posts each time)
Here’s my sample:
[sourcecode language='php']
<?php echo ‘Hello World!’; ?>
[/sourcecode]When my page loads I just see:
[sourcecode language='php']
[/sourcecode]
It’s treating the sourcecode tags as just text and then sanitizing the actual code out of the post. Any help would be greatly appreciated!
- The topic ‘Source Code Formatting’ is closed to new replies.