Skip to content

Instantly share code, notes, and snippets.

@MischaTheEvil
Created December 16, 2009 22:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MischaTheEvil/258248 to your computer and use it in GitHub Desktop.
Save MischaTheEvil/258248 to your computer and use it in GitHub Desktop.
Davide Zipeto wrote:
> Is is possible jsut to write the < pre> tag on a line by disabling temporarly the textile markup engine ? I cannot find any tricks with that...
A neat trick (AFAIK not officially supported by Redmine (nor RedCloth)) can be the use of Redmine's inline code markup.
With a nifty syntax the following results can be achieved: <@pre@>, [@[links]@], <@/code@>, <@/pre@>, <@code@>, @h1.@ and @_italic_@.
I've posted the source of this reply to a gist to easily show the syntax I've used for the examples: <PasteGistURL>.
&nbsp;
Kind regards,
Mischa.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment