Container for Markdown options. This class is immutable, create a new instance if you want to change the options after construction. [詳細]
Public メソッド | |
MarkdownOptions () | |
Default constructor. First loads default values, then overrides them with any values specified in the configuration file. Configuration values are specified in the <appSettings> section of the config file and take the form Markdown.PropertyName where PropertyName is any of the properties in this class. | |
MarkdownOptions (bool loadFromConfigFile) | |
Sets all values to their defaults, and if loadFromConfigFile is true it overrides them with configuration file values. Configuration values are specified in the <appSettings> section of the config file and take the form Markdown.PropertyName where PropertyName is any of the properties in this class. | |
MarkdownOptions (bool autoHyperlink, bool autoNewlines, string emptyElementsSuffix, bool encodeProblemUrlCharacters, bool linkEmails, int nestDepth, bool strictBoldItalic, int tabWidth) | |
Sets all options explicitly and does not attempt to override them with values from configuration file. | |
プロパティ | |
bool | AutoHyperlink [get, set] |
when true, (most) bare plain URLs are auto-hyperlinked WARNING: this is a significant deviation from the markdown spec | |
bool | AutoNewlines [get, set] |
when true, RETURN becomes a literal newline WARNING: this is a significant deviation from the markdown spec | |
string | EmptyElementSuffix [get, set] |
use ">" for HTML output, or " />" for XHTML output | |
bool | EncodeProblemUrlCharacters [get, set] |
when true, problematic URL characters like [, ], (, and so forth will be encoded WARNING: this is a significant deviation from the markdown spec | |
bool | LinkEmails [get, set] |
when false, email addresses will never be auto-linked WARNING: this is a significant deviation from the markdown spec | |
bool | StrictBoldItalic [get, set] |
when true, bold and italic require non-word characters on either side WARNING: this is a significant deviation from the markdown spec | |
int | NestDepth [get, set] |
maximum nested depth of [] and () supported by the transform | |
int | TabWidth [get, set] |
Tabs are automatically converted to spaces as part of the transform this variable determines how "wide" those tabs become in spaces. |
Container for Markdown options. This class is immutable, create a new instance if you want to change the options after construction.
Markdown.cs の 95 行で定義されています。
MarkdownSharp.MarkdownOptions.MarkdownOptions | ( | ) | [inline] |
Default constructor. First loads default values, then overrides them with any values specified in the configuration file. Configuration values are specified in the <appSettings> section of the config file and take the form Markdown.PropertyName where PropertyName is any of the properties in this class.
MarkdownOptions.cs の 22 行で定義されています。
MarkdownSharp.MarkdownOptions.MarkdownOptions | ( | bool | loadFromConfigFile | ) | [inline] |
Sets all values to their defaults, and if loadFromConfigFile is true it overrides them with configuration file values. Configuration values are specified in the <appSettings> section of the config file and take the form Markdown.PropertyName where PropertyName is any of the properties in this class.
loadFromConfigFile | True to override defaults with values from config file. |
MarkdownOptions.cs の 32 行で定義されています。
MarkdownSharp.MarkdownOptions.MarkdownOptions | ( | bool | autoHyperlink, |
bool | autoNewlines, | ||
string | emptyElementsSuffix, | ||
bool | encodeProblemUrlCharacters, | ||
bool | linkEmails, | ||
int | nestDepth, | ||
bool | strictBoldItalic, | ||
int | tabWidth | ||
) | [inline] |
Sets all options explicitly and does not attempt to override them with values from configuration file.
autoHyperlink | |
autoNewlines | |
emptyElementsSuffix | |
encodeProblemUrlCharacters | |
linkEmails | |
nestDepth | |
strictBoldItalic | |
tabWidth |
MarkdownOptions.cs の 97 行で定義されています。
bool MarkdownSharp.MarkdownOptions::AutoHyperlink [get, set] |
when true, (most) bare plain URLs are auto-hyperlinked WARNING: this is a significant deviation from the markdown spec
Markdown.cs の 101 行で定義されています。
bool MarkdownSharp.MarkdownOptions::AutoNewlines [get, set] |
when true, RETURN becomes a literal newline WARNING: this is a significant deviation from the markdown spec
Markdown.cs の 106 行で定義されています。
string MarkdownSharp.MarkdownOptions::EmptyElementSuffix [get, set] |
use ">" for HTML output, or " />" for XHTML output
Markdown.cs の 110 行で定義されています。
bool MarkdownSharp.MarkdownOptions::EncodeProblemUrlCharacters [get, set] |
when true, problematic URL characters like [, ], (, and so forth will be encoded WARNING: this is a significant deviation from the markdown spec
Markdown.cs の 115 行で定義されています。
bool MarkdownSharp.MarkdownOptions::LinkEmails [get, set] |
when false, email addresses will never be auto-linked WARNING: this is a significant deviation from the markdown spec
Markdown.cs の 120 行で定義されています。
int MarkdownSharp.MarkdownOptions.NestDepth [get, set] |
maximum nested depth of [] and () supported by the transform
MarkdownOptions.cs の 158 行で定義されています。
bool MarkdownSharp.MarkdownOptions::StrictBoldItalic [get, set] |
when true, bold and italic require non-word characters on either side WARNING: this is a significant deviation from the markdown spec
Markdown.cs の 125 行で定義されています。
int MarkdownSharp.MarkdownOptions.TabWidth [get, set] |
Tabs are automatically converted to spaces as part of the transform this variable determines how "wide" those tabs become in spaces.
MarkdownOptions.cs の 170 行で定義されています。