gambas-source-code/app/examples/Web/SmallWiki/.src/Markdown.class
Benoît Minisini c6a9cd69c2 [EXAMPLES]
* NEW: Add examples again. I hope correctly this time.


git-svn-id: svn://localhost/gambas/trunk@6726 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-12 19:58:52 +00:00

40 lines
567 B
Text

' Gambas class file
Export
Create
Public Root As String
Public Line As Integer
Public Current As String
Public Sub ToHTML(Markdown As String) As String
Return Markup.Convert(Markdown, Me)
End
Public Sub Link((sLink) As MarkdownLink)
End
Public Sub Command((sCommand) As String) As String[]
End
Public Sub Enter((sClass) As String) As String[]
End
Public Sub Leave((sClass) As String) As String[]
End
Public Sub EnableCode(bEnabled As Boolean)
If bEnabled Then
Inc Markup.EnableCode
Else
Dec Markup.EnableCode
Endif
End