Examples

 Please note: To prevent the plugin to translate the code at the left, tag is irregular written with an underline in front "_lartsmarkdown".

 

Load a markdown file

File should have the extension ".md"

{ _lartsmarkdown file="markdown_test.md" /}

Hello Markdown!

 

 

Insert block with numered lines (e.g. to explain sourcecode)

{ _lartsmarkdown enablebreaks="true" plain="true" linenumbers="true" numwidth="2" boxed="true" }
$strings = array("Orange", "Apple", "Banana", "Pear");

// Sort the strings in ascending order
sort($strings);
// Print the sorted array
print_r($strings);
{/_lartsmarkdown}

{ lartsmarkdown enablebreaks="true" plain="true" linenumbers="true" numwidth="2" boxed="true" }
$strings = array("Orange", "Apple", "Banana", "Pear");

// Sort the strings in ascending order
sort($strings);
// Print the sorted array
print_r($strings);

{/lartsmarkdown}

 

Protect-Privacy

This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.