C# 클래스 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.
상속: LanguageDescriptor
파일 보기 프로젝트 열기: xamarin/mac-samples

공개 메소드들

메소드 설명
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.

메소드 상세

Define() 공개 메소드

Define this instance.
public Define ( ) : void
리턴 void

FormatForPreview() 공개 메소드

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

MarkDownDescriptor() 공개 메소드

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