SmartyPantsExtension Class

Extension to enable SmartyPants.

public class SmartyPantsExtension : IMarkdownExtension
Implements

Constructors

NameDescription
SmartyPantsExtension(SmartyPantOptions?)Initializes a new instance of the SmartyPantsExtension class.

SmartyPantsExtension(SmartyPantOptions?)

SmartyPantsExtension.cs

Initializes a new instance of the SmartyPantsExtension class.

public SmartyPantsExtension(SmartyPantOptions? options)

Parameters

options SmartyPantOptions?
The options.

Properties

NameDescription
OptionsGets the options.

Gets the options.

public SmartyPantOptions Options { get; }

Property value

SmartyPantOptions

Methods

NameDescription
Setup(MarkdownPipeline, IMarkdownRenderer)Configures this extension for the specified pipeline stage.
Setup(MarkdownPipelineBuilder)Configures this extension for the specified pipeline stage.

Setup overloads

Setup(MarkdownPipeline, IMarkdownRenderer)

SmartyPantsExtension.cs

Configures this extension for the specified pipeline stage.

public void Setup(MarkdownPipeline pipeline, IMarkdownRenderer renderer)
Parameters
pipeline MarkdownPipeline
renderer IMarkdownRenderer

Setup(MarkdownPipelineBuilder)

SmartyPantsExtension.cs

Configures this extension for the specified pipeline stage.

public void Setup(MarkdownPipelineBuilder pipeline)
Parameters
pipeline MarkdownPipelineBuilder