src/Inlines/InlineCode.cs
/// <summary>
/// Writes the text as markdown.
/// </summary>
/// <param name="writer">Text writer to write object to</param>
/// <param name="formatting">Optional formatting information</param>
Writes the text as markdown.
Writes the text as markdown .
public override void Write(TextWriter writer, MarkdownFormatting formatting)
        {
            if (Text.Contains(Delimiter))
            {
                writer.Write(Delimiter);
                base.Write(writer,formatting);
                writer.Write(Delimiter);
            }
            else base.Write(writer, formatting);
        }
public override void Write ( TextWriter writer , MarkdownFormatting formatting ) { if ( Text . Contains ( Delimiter ) ) { writer . Write ( Delimiter ) ; base . Write ( writer , formatting ) ; writer . Write ( Delimiter ) ; } else base . Write ( writer , formatting ) ; }
Writes the text as markdown.
Writes the text as markdown .
// Escape the delimiter
writer
TextWriter
Text writer to write object to
Text writer to write object to
formatting
MarkdownFormatting
Optional formatting information
Optional formatting information