Loading...
 
Skip to main content

Features / Usability


Inline code display

Hello,

I there a wiki syntax, to have inline code? I mean: within the same sentence I want
this peace of text
to be displayed as code, but without breaking lines, like in this line example.


So "code style" is defined as "fixed spaced font", no fancy boxing, etc.

Any ideas?

Best regards, Bernhard

Just for fun I did a quickie modification of the CODE plugin. CODESPAN doesn't have the pre tags or caption of CODE, and replaces the pre and div tags with span. No guarantees, as I'm a trial-and-error kind of PHP guy, but you can see it at work hereQuestion and download it hereQuestion. The style of the code is, like with the CODE plugin, set by the theme's CSS (.codelisting class). For some themes, this means there is more padding around the code than you'd like. So for best results, maybe a span.codelisting is needed in the CSS to set padding to 0 or so.

-- Gary