comp • gb.markdown • markdown

Markdown (gb.markdown)

This class allows to convert the Gambas Markdown Syntax into HTML.

This class can be used like an object by creating a hidden instance on demand.
This class is creatable.

Properties

Methods
Return the current line being interpreted.
Current  
Return the line number of the current line being interpreted.
Line  
Reinterpret   Verbatim  
This method allows you to check the URL inserted into the markdown text and fix them.
CheckURL  
This method is called for generating the contents of a special command.
Command  
Enable or disable code blocks, i.e. if lines starting with four spaces are interpreted as a code block.
EnableCode  
This method is called when interpreting a table begin with a specific class, i.e. a [[ pattern followed by a CSS class name.
Enter  
This method is called when interpreting the end markup ]] of a table having a specific class.
Leave  
This method is called to interpreter the markdown link syntax [...] (...).
Link  
Process  
Convert Gambas markdown syntax to HTML and return it.
ToHTML  

You can customize that syntax by inheriting that class and reimplementing the following methods:

These methods are called during the markdown to HTML conversion process.