C# Class AppKit.TextKit.Formatter.MarkDownDescriptor

Defines how MarkDown should be colorized using a AppKit.TextKit.Formatter.LanguageFormatter.
This is a simplified, sample format provided as an example only. The HighlightSyntaxRegion method of the AppKit.TextKit.Formatter.LanguageFormatter would need to be modified to properly format MarkDown Keywords as the current version was designed for languages like C#, JavaScript or Visual Basic.
Inheritance: LanguageDescriptor
Exibir arquivo Open project: xamarin/mac-samples

Public Methods

Method Description
Define ( ) : void

Define this instance.

FormatForPreview ( string text ) : string

Formats the passed in string of text for previewing.

MarkDownDescriptor ( ) : System

Initializes a new instance of the AppKit.TextKit.Formatter.MarkDownDescriptor class.

Method Details

Define() public method

Define this instance.
public Define ( ) : void
return void

FormatForPreview() public method

Formats the passed in string of text for previewing.
public FormatForPreview ( string text ) : string
text string Text.
return string

MarkDownDescriptor() public method

Initializes a new instance of the AppKit.TextKit.Formatter.MarkDownDescriptor class.
public MarkDownDescriptor ( ) : System
return System