Skip to content

Code Blocks

Mark Junker edited this page Oct 25, 2024 · 2 revisions

Code Block

Allows for text to be formatted as code for languages in which syntax highlighting is not supported.

Source Markup

// multi-line
{{
   public static void Main()
   {
     // code goes here
   }
}}

// single line
{{ single line of text }}

Rendered Markup

// multi-line

   public static void Main()
   {
     // code goes here
   }

// single line
single line of text code

Clone this wiki locally