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
Afficher le fichier Open project: xamarin/mac-samples

Méthodes publiques

Méthode 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 méthode

Define this instance.
public Define ( ) : void
Résultat void

FormatForPreview() public méthode

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

MarkDownDescriptor() public méthode

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