You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.5 KiB
45 lines
1.5 KiB
namespace MarkdownSharp
|
|
{
|
|
|
|
/// <summary>
|
|
/// Options for configuring MarkdownSharp.
|
|
/// </summary>
|
|
internal class MarkdownOptions
|
|
{
|
|
/// <summary>
|
|
/// when true, (most) bare plain URLs are auto-hyperlinked
|
|
/// WARNING: this is a significant deviation from the markdown spec
|
|
/// </summary>
|
|
public bool AutoHyperlink { get; set; }
|
|
|
|
/// <summary>
|
|
/// when true, RETURN becomes a literal newline
|
|
/// WARNING: this is a significant deviation from the markdown spec
|
|
/// </summary>
|
|
public bool AutoNewlines { get; set; }
|
|
|
|
/// <summary>
|
|
/// use ">" for HTML output, or " />" for XHTML output
|
|
/// </summary>
|
|
public string EmptyElementSuffix { get; set; }
|
|
|
|
/// <summary>
|
|
/// when false, email addresses will never be auto-linked
|
|
/// WARNING: this is a significant deviation from the markdown spec
|
|
/// </summary>
|
|
public bool LinkEmails { get; set; }
|
|
|
|
/// <summary>
|
|
/// when true, bold and italic require non-word characters on either side
|
|
/// WARNING: this is a significant deviation from the markdown spec
|
|
/// </summary>
|
|
public bool StrictBoldItalic { get; set; }
|
|
|
|
/// <summary>
|
|
/// when true, asterisks may be used for intraword emphasis
|
|
/// this does nothing if StrictBoldItalic is false
|
|
/// </summary>
|
|
public bool AsteriskIntraWordEmphasis { get; set; }
|
|
}
|
|
|
|
}
|