Template:Code

From D Wiki
Jump to: navigation, search

{{{1}}}

Template that allows writing code "inline". For example:

Example

Use {{code|@property}} to ... Use @property to ...

Caveat

If the template parameter contains an equal sign (=), it needs to be written as = instead, otherwise the template will not work correctly.

Todo

template:Code is currently just a monospace font. It could be enhanced by being made a css style, or an extension.