C# Class Microsoft.DocAsCode.AzureMarkdownRewriters.AzureEngineBuilder

Inheritance: Microsoft.DocAsCode.MarkdownLite.GfmEngineBuilder
Exibir arquivo Open project: dotnet/docfx

Public Methods

Method Description
AzureEngineBuilder ( Options options ) : System
CreateEngine ( object renderer ) : IMarkdownEngine

Protected Methods

Method Description
BuildBlockRules ( ) : void
BuildInlineRules ( ) : void
BuildRules ( ) : void
CreateRewriters ( ) : void

Private Methods

Method Description
AppendDefaultExtension ( string href, string defaultExtension, bool &isHrefRelativeNonMdFile ) : string

Append default extension to href by condition

FixNonMdRelativeFileHref ( string nonMdHref, IMarkdownContext context, string rawMarkdown ) : string
GenerateAzureLinkHref ( IMarkdownContext context, string href, string rawMarkdown ) : string
GenerateAzureSelectorAttributes ( string selectorType, string selectorConditions ) : string
GenerateYamlHeaderContent ( string>.IReadOnlyDictionary properties, string>.IReadOnlyDictionary tags ) : string
NormalizeAzureLink ( string href, string defaultExtension, IMarkdownContext context, string rawMarkdown ) : string

Method Details

AzureEngineBuilder() public method

public AzureEngineBuilder ( Options options ) : System
options Microsoft.DocAsCode.MarkdownLite.Options
return System

BuildBlockRules() protected method

protected BuildBlockRules ( ) : void
return void

BuildInlineRules() protected method

protected BuildInlineRules ( ) : void
return void

BuildRules() protected method

protected BuildRules ( ) : void
return void

CreateEngine() public method

public CreateEngine ( object renderer ) : IMarkdownEngine
renderer object
return IMarkdownEngine

CreateRewriters() protected method

protected CreateRewriters ( ) : void
return void