Simplify crefs

This commit is contained in:
MihaZupan
2020-04-22 17:08:52 +02:00
parent 4d513acf6b
commit fc50e2e2e7
165 changed files with 201 additions and 201 deletions

View File

@@ -55,7 +55,7 @@ namespace Testamina.Markdig.Benchmarks
//CommonMark.CommonMarkConverter.Parse(reader);
//reader.Dispose();
//var writer = new StringWriter();
global::CommonMark.CommonMarkConverter.Convert(text);
CommonMark.CommonMarkConverter.Convert(text);
//writer.Flush();
//writer.ToString();
}

View File

@@ -12,7 +12,7 @@ namespace Markdig.Extensions.Abbreviations
/// <summary>
/// An abbreviation object stored at the document level. See extension methods in <see cref="AbbreviationHelper"/>.
/// </summary>
/// <seealso cref="Markdig.Syntax.LeafBlock" />
/// <seealso cref="LeafBlock" />
[DebuggerDisplay("Abbr {Label} => {Text}")]
public class Abbreviation : LeafBlock
{

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.Abbreviations
/// <summary>
/// Extension to allow abbreviations.
/// </summary>
/// <seealso cref="Markdig.IMarkdownExtension" />
/// <seealso cref="IMarkdownExtension" />
public class AbbreviationExtension : IMarkdownExtension
{
public void Setup(MarkdownPipelineBuilder pipeline)

View File

@@ -10,7 +10,7 @@ namespace Markdig.Extensions.Abbreviations
/// <summary>
/// The inline abbreviation.
/// </summary>
/// <seealso cref="Markdig.Syntax.Inlines.LeafInline" />
/// <seealso cref="LeafInline" />
[DebuggerDisplay("{Abbreviation}")]
public class AbbreviationInline : LeafInline
{

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.Abbreviations
/// <summary>
/// A HTML renderer for a <see cref="AbbreviationInline"/>.
/// </summary>
/// <seealso cref="Markdig.Renderers.Html.HtmlObjectRenderer{CustomContainer}" />
/// <seealso cref="HtmlObjectRenderer{CustomContainer}" />
public class HtmlAbbreviationRenderer : HtmlObjectRenderer<AbbreviationInline>
{
protected override void Write(HtmlRenderer renderer, AbbreviationInline obj)

View File

@@ -17,7 +17,7 @@ namespace Markdig.Extensions.AutoIdentifiers
/// <summary>
/// The auto-identifier extension
/// </summary>
/// <seealso cref="Markdig.IMarkdownExtension" />
/// <seealso cref="IMarkdownExtension" />
public class AutoIdentifierExtension : IMarkdownExtension
{
private const string AutoIdentifierKey = "AutoIdentifier";

View File

@@ -8,7 +8,7 @@ namespace Markdig.Extensions.AutoIdentifiers
/// <summary>
/// A link reference definition to a <see cref="HeadingBlock"/> stored at the <see cref="MarkdownDocument"/> level.
/// </summary>
/// <seealso cref="Markdig.Syntax.LinkReferenceDefinition" />
/// <seealso cref="LinkReferenceDefinition" />
public class HeadingLinkReferenceDefinition : LinkReferenceDefinition
{
/// <summary>

View File

@@ -12,7 +12,7 @@ namespace Markdig.Extensions.Bootstrap
/// <summary>
/// Extension for tagging some HTML elements with bootstrap classes.
/// </summary>
/// <seealso cref="Markdig.IMarkdownExtension" />
/// <seealso cref="IMarkdownExtension" />
public class BootstrapExtension : IMarkdownExtension
{
public void Setup(MarkdownPipelineBuilder pipeline)

View File

@@ -9,8 +9,8 @@ namespace Markdig.Extensions.CustomContainers
/// <summary>
/// A block custom container.
/// </summary>
/// <seealso cref="Markdig.Syntax.ContainerBlock" />
/// <seealso cref="Markdig.Syntax.IFencedBlock" />
/// <seealso cref="ContainerBlock" />
/// <seealso cref="IFencedBlock" />
public class CustomContainer : ContainerBlock, IFencedBlock
{
/// <summary>

View File

@@ -8,8 +8,8 @@ namespace Markdig.Extensions.CustomContainers
/// <summary>
/// An inline custom container
/// </summary>
/// <seealso cref="Markdig.Syntax.Inlines.ContainerInline" />
/// <seealso cref="Markdig.Syntax.Inlines.EmphasisInline" />
/// <seealso cref="ContainerInline" />
/// <seealso cref="EmphasisInline" />
public class CustomContainerInline : EmphasisInline
{
}

View File

@@ -8,7 +8,7 @@ namespace Markdig.Extensions.CustomContainers
/// <summary>
/// The block parser for a <see cref="CustomContainer"/>.
/// </summary>
/// <seealso cref="Markdig.Parsers.FencedBlockParserBase{Markdig.Extensions.CustomContainers.CustomContainer}" />
/// <seealso cref="Parsers.FencedBlockParserBase{CustomContainers.CustomContainer}" />
public class CustomContainerParser : FencedBlockParserBase<CustomContainer>
{
/// <summary>

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.CustomContainers
/// <summary>
/// A HTML renderer for a <see cref="CustomContainerInline"/>.
/// </summary>
/// <seealso cref="Renderers.Html.HtmlObjectRenderer{CustomContainerInline}" />
/// <seealso cref="HtmlObjectRenderer{CustomContainerInline}" />
public class HtmlCustomContainerInlineRenderer : HtmlObjectRenderer<CustomContainerInline>
{
protected override void Write(HtmlRenderer renderer, CustomContainerInline obj)

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.CustomContainers
/// <summary>
/// A HTML renderer for a <see cref="CustomContainer"/>.
/// </summary>
/// <seealso cref="Markdig.Renderers.Html.HtmlObjectRenderer{CustomContainer}" />
/// <seealso cref="HtmlObjectRenderer{CustomContainer}" />
public class HtmlCustomContainerRenderer : HtmlObjectRenderer<CustomContainer>
{
protected override void Write(HtmlRenderer renderer, CustomContainer obj)

View File

@@ -7,7 +7,7 @@ namespace Markdig.Extensions.DefinitionLists
/// A definition item contains zero to multiple <see cref="DefinitionTerm"/>
/// and definitions (any <see cref="Block"/>)
/// </summary>
/// <seealso cref="Markdig.Syntax.ContainerBlock" />
/// <seealso cref="ContainerBlock" />
public class DefinitionItem : ContainerBlock
{
/// <summary>

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.DefinitionLists
/// <summary>
/// A definition list contains <see cref="DefinitionItem"/> children.
/// </summary>
/// <seealso cref="Markdig.Syntax.ContainerBlock" />
/// <seealso cref="ContainerBlock" />
public class DefinitionList : ContainerBlock
{
/// <summary>

View File

@@ -8,7 +8,7 @@ namespace Markdig.Extensions.DefinitionLists
/// <summary>
/// Extension to allow definition lists
/// </summary>
/// <seealso cref="Markdig.IMarkdownExtension" />
/// <seealso cref="IMarkdownExtension" />
public class DefinitionListExtension : IMarkdownExtension
{
public void Setup(MarkdownPipelineBuilder pipeline)

View File

@@ -11,7 +11,7 @@ namespace Markdig.Extensions.DefinitionLists
/// <summary>
/// The block parser for a <see cref="DefinitionList"/>.
/// </summary>
/// <seealso cref="Markdig.Parsers.BlockParser" />
/// <seealso cref="BlockParser" />
public class DefinitionListParser : BlockParser
{
/// <summary>

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.DefinitionLists
/// <summary>
/// A definition term contains a single line with the term to define.
/// </summary>
/// <seealso cref="Markdig.Syntax.LeafBlock" />
/// <seealso cref="LeafBlock" />
public class DefinitionTerm : LeafBlock
{
/// <summary>

View File

@@ -11,7 +11,7 @@ namespace Markdig.Extensions.DefinitionLists
/// <summary>
/// A HTML renderer for <see cref="DefinitionList"/>, <see cref="DefinitionItem"/> and <see cref="DefinitionTerm"/>.
/// </summary>
/// <seealso cref="Markdig.Renderers.Html.HtmlObjectRenderer{Markdig.Extensions.DefinitionLists.DefinitionList}" />
/// <seealso cref="Renderers.Html.HtmlObjectRenderer{DefinitionLists.DefinitionList}" />
public class HtmlDefinitionListRenderer : HtmlObjectRenderer<DefinitionList>
{
protected override void Write(HtmlRenderer renderer, DefinitionList list)

View File

@@ -10,7 +10,7 @@ namespace Markdig.Extensions.Diagrams
/// <summary>
/// Extension to allow diagrams.
/// </summary>
/// <seealso cref="Markdig.IMarkdownExtension" />
/// <seealso cref="IMarkdownExtension" />
public class DiagramExtension : IMarkdownExtension
{
public void Setup(MarkdownPipelineBuilder pipeline)

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.Emoji
/// <summary>
/// Extension to allow emoji shortcodes and smileys replacement.
/// </summary>
/// <seealso cref="Markdig.IMarkdownExtension" />
/// <seealso cref="IMarkdownExtension" />
public class EmojiExtension : IMarkdownExtension
{
public EmojiExtension(EmojiMapping emojiMapping)

View File

@@ -10,7 +10,7 @@ namespace Markdig.Extensions.Emoji
/// <summary>
/// An emoji inline.
/// </summary>
/// <seealso cref="Markdig.Syntax.Inlines.Inline" />
/// <seealso cref="Inline" />
public class EmojiInline : LiteralInline
{
// Inherit from LiteralInline so that rendering is already handled by default

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.Figures
/// <summary>
/// Defines a figure container.
/// </summary>
/// <seealso cref="Markdig.Syntax.ContainerBlock" />
/// <seealso cref="ContainerBlock" />
public class Figure : ContainerBlock
{
/// <summary>

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.Figures
/// <summary>
/// The block parser for a <see cref="Figure"/> block.
/// </summary>
/// <seealso cref="Markdig.Parsers.BlockParser" />
/// <seealso cref="BlockParser" />
public class FigureBlockParser : BlockParser
{
/// <summary>

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.Figures
/// <summary>
/// Defines a figure caption.
/// </summary>
/// <seealso cref="Markdig.Syntax.LeafBlock" />
/// <seealso cref="LeafBlock" />
public class FigureCaption : LeafBlock
{
/// <summary>

View File

@@ -10,7 +10,7 @@ namespace Markdig.Extensions.Figures
/// <summary>
/// Extension to allow usage of figures and figure captions.
/// </summary>
/// <seealso cref="Markdig.IMarkdownExtension" />
/// <seealso cref="IMarkdownExtension" />
public class FigureExtension : IMarkdownExtension
{
public void Setup(MarkdownPipelineBuilder pipeline)

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.Figures
/// <summary>
/// A HTML renderer for a <see cref="FigureCaption"/>.
/// </summary>
/// <seealso cref="Markdig.Renderers.Html.HtmlObjectRenderer{FigureCaption}" />
/// <seealso cref="HtmlObjectRenderer{FigureCaption}" />
public class HtmlFigureCaptionRenderer : HtmlObjectRenderer<FigureCaption>
{
protected override void Write(HtmlRenderer renderer, FigureCaption obj)

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.Figures
/// <summary>
/// A HTML renderer for a <see cref="Figure"/>.
/// </summary>
/// <seealso cref="Markdig.Renderers.Html.HtmlObjectRenderer{Figure}" />
/// <seealso cref="HtmlObjectRenderer{Figure}" />
public class HtmlFigureRenderer : HtmlObjectRenderer<Figure>
{
protected override void Write(HtmlRenderer renderer, Figure obj)

View File

@@ -10,7 +10,7 @@ namespace Markdig.Extensions.Footers
/// <summary>
/// A block element for a footer.
/// </summary>
/// <seealso cref="Markdig.Syntax.ContainerBlock" />
/// <seealso cref="ContainerBlock" />
public class FooterBlock : ContainerBlock
{
/// <summary>

View File

@@ -11,7 +11,7 @@ namespace Markdig.Extensions.Footers
/// <summary>
/// A block parser for a <see cref="FooterBlock"/>.
/// </summary>
/// <seealso cref="Markdig.Parsers.BlockParser" />
/// <seealso cref="BlockParser" />
public class FooterBlockParser : BlockParser
{
/// <summary>

View File

@@ -10,7 +10,7 @@ namespace Markdig.Extensions.Footers
/// <summary>
/// Extension that provides footer.
/// </summary>
/// <seealso cref="Markdig.IMarkdownExtension" />
/// <seealso cref="IMarkdownExtension" />
public class FooterExtension : IMarkdownExtension
{
public void Setup(MarkdownPipelineBuilder pipeline)

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.Footers
/// <summary>
/// A HTML renderer for a <see cref="FooterBlock"/>.
/// </summary>
/// <seealso cref="Markdig.Renderers.Html.HtmlObjectRenderer{Markdig.Extensions.Footers.FooterBlock}" />
/// <seealso cref="Renderers.Html.HtmlObjectRenderer{Footers.FooterBlock}" />
public class HtmlFooterBlockRenderer : HtmlObjectRenderer<FooterBlock>
{
protected override void Write(HtmlRenderer renderer, FooterBlock footer)

View File

@@ -10,7 +10,7 @@ namespace Markdig.Extensions.Footnotes
/// <summary>
/// A block for a footnote.
/// </summary>
/// <seealso cref="Markdig.Syntax.ContainerBlock" />
/// <seealso cref="ContainerBlock" />
public class Footnote : ContainerBlock
{
public Footnote(BlockParser parser) : base(parser)

View File

@@ -8,7 +8,7 @@ namespace Markdig.Extensions.Footnotes
/// <summary>
/// Extension to allow footnotes.
/// </summary>
/// <seealso cref="Markdig.IMarkdownExtension" />
/// <seealso cref="IMarkdownExtension" />
public class FootnoteExtension : IMarkdownExtension
{
public void Setup(MarkdownPipelineBuilder pipeline)

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.Footnotes
/// <summary>
/// A block that contains all the footnotes at the end of a <see cref="MarkdownDocument"/>.
/// </summary>
/// <seealso cref="Markdig.Syntax.ContainerBlock" />
/// <seealso cref="ContainerBlock" />
public class FootnoteGroup : ContainerBlock
{
/// <summary>

View File

@@ -8,7 +8,7 @@ namespace Markdig.Extensions.Footnotes
/// <summary>
/// A inline link to a <see cref="Footnote"/>.
/// </summary>
/// <seealso cref="Markdig.Syntax.Inlines.Inline" />
/// <seealso cref="Inline" />
public class FootnoteLink : Inline
{
/// <summary>

View File

@@ -8,7 +8,7 @@ namespace Markdig.Extensions.Footnotes
/// <summary>
/// A link reference definition stored at the <see cref="MarkdownDocument"/> level.
/// </summary>
/// <seealso cref="Markdig.Syntax.LinkReferenceDefinition" />
/// <seealso cref="LinkReferenceDefinition" />
public class FootnoteLinkReferenceDefinition : LinkReferenceDefinition
{
/// <summary>

View File

@@ -12,7 +12,7 @@ namespace Markdig.Extensions.Footnotes
/// <summary>
/// The block parser for a <see cref="Footnote"/>.
/// </summary>
/// <seealso cref="Markdig.Parsers.BlockParser" />
/// <seealso cref="BlockParser" />
public class FootnoteParser : BlockParser
{
/// <summary>

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.Footnotes
/// <summary>
/// A HTML renderer for a <see cref="FootnoteGroup"/>.
/// </summary>
/// <seealso cref="Markdig.Renderers.Html.HtmlObjectRenderer{Markdig.Extensions.Footnotes.FootnoteGroup}" />
/// <seealso cref="Renderers.Html.HtmlObjectRenderer{Footnotes.FootnoteGroup}" />
public class HtmlFootnoteGroupRenderer : HtmlObjectRenderer<FootnoteGroup>
{
/// <summary>

View File

@@ -10,7 +10,7 @@ namespace Markdig.Extensions.Footnotes
/// <summary>
/// A HTML renderer for a <see cref="FootnoteLink"/>.
/// </summary>
/// <seealso cref="Markdig.Renderers.Html.HtmlObjectRenderer{Markdig.Extensions.Footnotes.FootnoteLink}" />
/// <seealso cref="Renderers.Html.HtmlObjectRenderer{Footnotes.FootnoteLink}" />
public class HtmlFootnoteLinkRenderer : HtmlObjectRenderer<FootnoteLink>
{
public HtmlFootnoteLinkRenderer()

View File

@@ -10,7 +10,7 @@ namespace Markdig.Extensions.Hardlines
/// <summary>
/// Extension to generate hardline break for softline breaks.
/// </summary>
/// <seealso cref="Markdig.IMarkdownExtension" />
/// <seealso cref="IMarkdownExtension" />
public class SoftlineBreakAsHardlineExtension : IMarkdownExtension
{
public void Setup(MarkdownPipelineBuilder pipeline)

View File

@@ -10,7 +10,7 @@ namespace Markdig.Extensions.ListExtras
/// <summary>
/// Extension for adding new type of list items (a., A., i., I.)
/// </summary>
/// <seealso cref="Markdig.IMarkdownExtension" />
/// <seealso cref="IMarkdownExtension" />
public class ListExtraExtension : IMarkdownExtension
{
public void Setup(MarkdownPipelineBuilder pipeline)

View File

@@ -15,7 +15,7 @@ namespace Markdig.Extensions.ListExtras
/// <remarks>
/// Note that we don't validate roman numbers.
/// </remarks>
/// <seealso cref="Markdig.Parsers.OrderedListItemParser" />
/// <seealso cref="OrderedListItemParser" />
public class ListExtraItemParser : OrderedListItemParser
{
/// <summary>

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.Mathematics
/// <summary>
/// A HTML renderer for a <see cref="MathBlock"/>.
/// </summary>
/// <seealso cref="Markdig.Renderers.Html.HtmlObjectRenderer{T}" />
/// <seealso cref="HtmlObjectRenderer{T}" />
public class HtmlMathBlockRenderer : HtmlObjectRenderer<MathBlock>
{
protected override void Write(HtmlRenderer renderer, MathBlock obj)

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.Mathematics
/// <summary>
/// A HTML renderer for a <see cref="MathInline"/>.
/// </summary>
/// <seealso cref="Markdig.Renderers.Html.HtmlObjectRenderer{Figure}" />
/// <seealso cref="HtmlObjectRenderer{Figure}" />
public class HtmlMathInlineRenderer : HtmlObjectRenderer<MathInline>
{
protected override void Write(HtmlRenderer renderer, MathInline obj)

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.Mathematics
/// <summary>
/// A math block.
/// </summary>
/// <seealso cref="Markdig.Syntax.FencedCodeBlock" />
/// <seealso cref="FencedCodeBlock" />
public class MathBlock : FencedCodeBlock
{
/// <summary>

View File

@@ -10,7 +10,7 @@ namespace Markdig.Extensions.Mathematics
/// <summary>
/// Extension for adding inline mathematics $...$
/// </summary>
/// <seealso cref="Markdig.IMarkdownExtension" />
/// <seealso cref="IMarkdownExtension" />
public class MathExtension : IMarkdownExtension
{
public void Setup(MarkdownPipelineBuilder pipeline)

View File

@@ -10,7 +10,7 @@ namespace Markdig.Extensions.Mathematics
/// <summary>
/// A math inline element.
/// </summary>
/// <seealso cref="Markdig.Syntax.Inlines.EmphasisInline" />
/// <seealso cref="EmphasisInline" />
public class MathInline : LeafInline
{
/// <summary>

View File

@@ -12,7 +12,7 @@ namespace Markdig.Extensions.Mathematics
/// <summary>
/// An inline parser for <see cref="MathInline"/>.
/// </summary>
/// <seealso cref="Markdig.Parsers.InlineParser" />
/// <seealso cref="InlineParser" />
/// <seealso cref="IPostInlineProcessor" />
public class MathInlineParser : InlineParser
{

View File

@@ -14,7 +14,7 @@ namespace Markdig.Extensions.MediaLinks
/// <summary>
/// Extension for extending image Markdown links in case a video or an audio file is linked and output proper link.
/// </summary>
/// <seealso cref="Markdig.IMarkdownExtension" />
/// <seealso cref="IMarkdownExtension" />
public class MediaLinkExtension : IMarkdownExtension
{
public MediaLinkExtension() : this(new MediaOptions())

View File

@@ -14,7 +14,7 @@ namespace Markdig.Extensions.PragmaLines
/// <summary>
/// Extension to a span for each line containing the original line id (using id = pragma-line#line_number_zero_based)
/// </summary>
/// <seealso cref="Markdig.IMarkdownExtension" />
/// <seealso cref="IMarkdownExtension" />
public class PragmaLineExtension : IMarkdownExtension
{
public void Setup(MarkdownPipelineBuilder pipeline)

View File

@@ -23,7 +23,7 @@ namespace Markdig.Extensions.SelfPipeline
/// </summary>
/// <param name="tag">The matching start tag.</param>
/// <param name="defaultExtensions">The default extensions.</param>
/// <exception cref="System.ArgumentException">Tag cannot contain `<` or `>` characters</exception>
/// <exception cref="ArgumentException">Tag cannot contain `<` or `>` characters</exception>
public SelfPipelineExtension(string tag = null, string defaultExtensions = null)
{
tag = tag?.Trim();
@@ -72,7 +72,7 @@ namespace Markdig.Extensions.SelfPipeline
/// </summary>
/// <param name="inputText">The input text.</param>
/// <returns>The pipeline configured from the input</returns>
/// <exception cref="System.ArgumentNullException"></exception>
/// <exception cref="ArgumentNullException"></exception>
public MarkdownPipeline CreatePipelineFromInput(string inputText)
{
if (inputText == null) ThrowHelper.ArgumentNullException(nameof(inputText));

View File

@@ -8,7 +8,7 @@ namespace Markdig.Extensions.Tables
/// <summary>
/// Extension that allows to use grid tables.
/// </summary>
/// <seealso cref="Markdig.IMarkdownExtension" />
/// <seealso cref="IMarkdownExtension" />
public class GridTableExtension : IMarkdownExtension
{
public void Setup(MarkdownPipelineBuilder pipeline)

View File

@@ -12,7 +12,7 @@ namespace Markdig.Extensions.Tables
/// <summary>
/// A HTML renderer for a <see cref="Table"/>
/// </summary>
/// <seealso cref="Markdig.Renderers.Html.HtmlObjectRenderer{Markdig.Extensions.Tables.TableBlock}" />
/// <seealso cref="Renderers.Html.HtmlObjectRenderer{Tables.TableBlock}" />
public class HtmlTableRenderer : HtmlObjectRenderer<Table>
{
protected override void Write(HtmlRenderer renderer, Table table)

View File

@@ -14,7 +14,7 @@ namespace Markdig.Extensions.Tables
/// that starts by a '-' and have at least a '|' (and have optional spaces) and is a continuation of a
/// paragraph.
/// </summary>
/// <seealso cref="Markdig.Parsers.BlockParser" />
/// <seealso cref="BlockParser" />
public class PipeTableBlockParser : BlockParser
{
/// <summary>

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.Tables
/// <summary>
/// The delimiter used to separate the columns of a pipe table.
/// </summary>
/// <seealso cref="Markdig.Syntax.Inlines.DelimiterInline" />
/// <seealso cref="DelimiterInline" />
public class PipeTableDelimiterInline : DelimiterInline
{
public PipeTableDelimiterInline(InlineParser parser) : base(parser)

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.Tables
/// <summary>
/// Extension that allows to use pipe tables.
/// </summary>
/// <seealso cref="Markdig.IMarkdownExtension" />
/// <seealso cref="IMarkdownExtension" />
public class PipeTableExtension : IMarkdownExtension
{
/// <summary>

View File

@@ -17,7 +17,7 @@ namespace Markdig.Extensions.Tables
/// <summary>
/// The inline parser used to transform a <see cref="ParagraphBlock"/> into a <see cref="Table"/> at inline parsing time.
/// </summary>
/// <seealso cref="Markdig.Parsers.InlineParser" />
/// <seealso cref="InlineParser" />
/// <seealso cref="IPostInlineProcessor" />
public class PipeTableParser : InlineParser, IPostInlineProcessor
{

View File

@@ -11,7 +11,7 @@ namespace Markdig.Extensions.Tables
/// <summary>
/// Defines a table that contains an optional <see cref="TableRow"/>.
/// </summary>
/// <seealso cref="Markdig.Syntax.ContainerBlock" />
/// <seealso cref="ContainerBlock" />
public class Table : ContainerBlock
{
/// <summary>

View File

@@ -10,7 +10,7 @@ namespace Markdig.Extensions.Tables
/// <summary>
/// Defines a cell in a <see cref="TableRow"/>
/// </summary>
/// <seealso cref="Markdig.Syntax.LeafBlock" />
/// <seealso cref="LeafBlock" />
public class TableCell : ContainerBlock
{
/// <summary>

View File

@@ -8,7 +8,7 @@ namespace Markdig.Extensions.Tables
/// <summary>
/// Defines a row in a <see cref="Table"/>, contains <see cref="TableCell"/>, parent is <see cref="Table"/>.
/// </summary>
/// <seealso cref="Markdig.Syntax.ContainerBlock" />
/// <seealso cref="ContainerBlock" />
public class TableRow : ContainerBlock
{
/// <summary>

View File

@@ -10,7 +10,7 @@ namespace Markdig.Extensions.TaskLists
/// <summary>
/// A HTML renderer for a <see cref="TaskList"/>.
/// </summary>
/// <seealso cref="Markdig.Renderers.Html.HtmlObjectRenderer{TaskList}" />
/// <seealso cref="HtmlObjectRenderer{TaskList}" />
public class HtmlTaskListRenderer : HtmlObjectRenderer<TaskList>
{
protected override void Write(HtmlRenderer renderer, TaskList obj)

View File

@@ -4,9 +4,9 @@ namespace Markdig.Extensions.TextRenderer
{
/// <summary>
/// Extension that allows setting line-endings for any IMarkdownRenderer
/// that inherits from <see cref="Markdig.Renderers.TextRendererBase"/>
/// that inherits from <see cref="TextRendererBase"/>
/// </summary>
/// <seealso cref="Markdig.IMarkdownExtension" />
/// <seealso cref="IMarkdownExtension" />
public class ConfigureNewLineExtension : IMarkdownExtension
{
private readonly string newLine;

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.Yaml
/// <summary>
/// A YAML frontmatter block.
/// </summary>
/// <seealso cref="Markdig.Syntax.CodeBlock" />
/// <seealso cref="CodeBlock" />
public class YamlFrontMatterBlock : CodeBlock
{
/// <summary>

View File

@@ -9,7 +9,7 @@ namespace Markdig.Extensions.Yaml
/// <summary>
/// Empty renderer for a <see cref="YamlFrontMatterBlock"/>
/// </summary>
/// <seealso cref="Markdig.Renderers.Html.HtmlObjectRenderer{YamlFrontMatterBlock}" />
/// <seealso cref="HtmlObjectRenderer{YamlFrontMatterBlock}" />
public class YamlFrontMatterRenderer : HtmlObjectRenderer<YamlFrontMatterBlock>
{
protected override void Write(HtmlRenderer renderer, YamlFrontMatterBlock obj)

View File

@@ -24,7 +24,7 @@ namespace Markdig.Helpers
/// Initializes a new instance of the <see cref="CharacterMap{T}"/> class.
/// </summary>
/// <param name="maps">The states.</param>
/// <exception cref="System.ArgumentNullException"></exception>
/// <exception cref="ArgumentNullException"></exception>
public CharacterMap(IEnumerable<KeyValuePair<char, T>> maps)
{
if (maps == null) ThrowHelper.ArgumentNullException(nameof(maps));

View File

@@ -11,7 +11,7 @@ namespace Markdig.Helpers
/// A default object cache that expect the type {T} to provide a parameter less constructor
/// </summary>
/// <typeparam name="T">The type of item to cache</typeparam>
/// <seealso cref="Markdig.Helpers.ObjectCache{T}" />
/// <seealso cref="ObjectCache{T}" />
public abstract class DefaultObjectCache<T> : ObjectCache<T> where T : class, new()
{
protected override T NewInstance()

View File

@@ -54,7 +54,7 @@ namespace Markdig.Helpers
/// Releases the specified instance.
/// </summary>
/// <param name="instance">The instance.</param>
/// <exception cref="System.ArgumentNullException">if instance is null</exception>
/// <exception cref="ArgumentNullException">if instance is null</exception>
public void Release(T instance)
{
if (instance == null) ThrowHelper.ArgumentNullException(nameof(instance));

View File

@@ -10,7 +10,7 @@ namespace Markdig.Helpers
/// A List that provides methods for inserting/finding before/after. See remarks.
/// </summary>
/// <typeparam name="T">Type of the list item</typeparam>
/// <seealso cref="System.Collections.Generic.List{T}" />
/// <seealso cref="List{T}" />
/// <remarks>We use a typed list and don't use extension methods because it would pollute all list implements and the top level namespace.</remarks>
public class OrderedList<T> : List<T>
{

View File

@@ -35,7 +35,7 @@ namespace Markdig.Helpers
/// Initializes a new instance of the <see cref="StringLineGroup"/> class.
/// </summary>
/// <param name="text">The text.</param>
/// <exception cref="System.ArgumentNullException"></exception>
/// <exception cref="ArgumentNullException"></exception>
public StringLineGroup(string text)
{
if (text == null) ThrowHelper.ArgumentNullException_text();

View File

@@ -35,7 +35,7 @@ namespace Markdig.Helpers
/// <param name="text">The text.</param>
/// <param name="start">The start.</param>
/// <param name="end">The end.</param>
/// <exception cref="System.ArgumentNullException"></exception>
/// <exception cref="ArgumentNullException"></exception>
public StringSlice(string text, int start, int end)
{
if (text is null)

View File

@@ -66,7 +66,7 @@ namespace Markdig
/// <param name="markdown">A Markdown text.</param>
/// <param name="pipeline">The pipeline used for the conversion.</param>
/// <returns>The result of the conversion</returns>
/// <exception cref="System.ArgumentNullException">if markdown variable is null</exception>
/// <exception cref="ArgumentNullException">if markdown variable is null</exception>
public static string ToHtml(string markdown, MarkdownPipeline pipeline = null)
{
if (markdown == null) ThrowHelper.ArgumentNullException_markdown();
@@ -92,7 +92,7 @@ namespace Markdig
/// <param name="pipeline">The pipeline used for the conversion.</param>
/// <param name="context">A parser context used for the parsing.</param>
/// <returns>The Markdown document that has been parsed</returns>
/// <exception cref="System.ArgumentNullException">if reader or writer variable are null</exception>
/// <exception cref="ArgumentNullException">if reader or writer variable are null</exception>
public static MarkdownDocument ToHtml(string markdown, TextWriter writer, MarkdownPipeline pipeline = null, MarkdownParserContext context = null)
{
if (markdown == null) ThrowHelper.ArgumentNullException_markdown();
@@ -118,7 +118,7 @@ namespace Markdig
/// <param name="renderer">The renderer to convert Markdown to.</param>
/// <param name="pipeline">The pipeline used for the conversion.</param>
/// <param name="context">A parser context used for the parsing.</param>
/// <exception cref="System.ArgumentNullException">if markdown or writer variable are null</exception>
/// <exception cref="ArgumentNullException">if markdown or writer variable are null</exception>
public static object Convert(string markdown, IMarkdownRenderer renderer, MarkdownPipeline pipeline = null, MarkdownParserContext context = null)
{
if (markdown == null) ThrowHelper.ArgumentNullException_markdown();
@@ -136,7 +136,7 @@ namespace Markdig
/// </summary>
/// <param name="markdown">The markdown text.</param>
/// <returns>An AST Markdown document</returns>
/// <exception cref="System.ArgumentNullException">if markdown variable is null</exception>
/// <exception cref="ArgumentNullException">if markdown variable is null</exception>
public static MarkdownDocument Parse(string markdown)
{
if (markdown == null) ThrowHelper.ArgumentNullException_markdown();
@@ -150,7 +150,7 @@ namespace Markdig
/// <param name="pipeline">The pipeline used for the parsing.</param>
/// <param name="context">A parser context used for the parsing.</param>
/// <returns>An AST Markdown document</returns>
/// <exception cref="System.ArgumentNullException">if markdown variable is null</exception>
/// <exception cref="ArgumentNullException">if markdown variable is null</exception>
public static MarkdownDocument Parse(string markdown, MarkdownPipeline pipeline, MarkdownParserContext context = null)
{
if (markdown == null) ThrowHelper.ArgumentNullException_markdown();
@@ -178,7 +178,7 @@ namespace Markdig
/// <param name="pipeline">The pipeline used for the conversion.</param>
/// <param name="context">A parser context used for the parsing.</param>
/// <returns>The Markdown document that has been parsed</returns>
/// <exception cref="System.ArgumentNullException">if reader or writer variable are null</exception>
/// <exception cref="ArgumentNullException">if reader or writer variable are null</exception>
public static MarkdownDocument ToPlainText(string markdown, TextWriter writer, MarkdownPipeline pipeline = null, MarkdownParserContext context = null)
{
if (markdown == null) ThrowHelper.ArgumentNullException_markdown();
@@ -209,7 +209,7 @@ namespace Markdig
/// <param name="pipeline">The pipeline used for the conversion.</param>
/// <param name="context">A parser context used for the parsing.</param>
/// <returns>The result of the conversion</returns>
/// <exception cref="System.ArgumentNullException">if markdown variable is null</exception>
/// <exception cref="ArgumentNullException">if markdown variable is null</exception>
public static string ToPlainText(string markdown, MarkdownPipeline pipeline = null, MarkdownParserContext context = null)
{
if (markdown == null) ThrowHelper.ArgumentNullException_markdown();

View File

@@ -86,7 +86,7 @@ namespace Markdig
/// <summary>
/// Builds a pipeline from this instance. Once the pipeline is build, it cannot be modified.
/// </summary>
/// <exception cref="System.InvalidOperationException">An extension cannot be null</exception>
/// <exception cref="InvalidOperationException">An extension cannot be null</exception>
public MarkdownPipeline Build()
{
if (pipeline != null)

View File

@@ -9,7 +9,7 @@ namespace Markdig.Parsers
/// <summary>
/// A List of <see cref="BlockParser"/>.
/// </summary>
/// <seealso cref="Markdig.Parsers.ParserList{Markdig.Parsers.BlockParser, Markdig.Parsers.BlockParserState}" />
/// <seealso cref="Parsers.ParserList{Parsers.BlockParser, Parsers.BlockParserState}" />
public class BlockParserList : ParserList<BlockParser, BlockProcessor>
{
/// <summary>

View File

@@ -38,7 +38,7 @@ namespace Markdig.Parsers
/// <param name="stringBuilders">The string builders cache.</param>
/// <param name="document">The document to build blocks into.</param>
/// <param name="parsers">The list of parsers.</param>
/// <exception cref="System.ArgumentNullException">
/// <exception cref="ArgumentNullException">
/// </exception>
public BlockProcessor(MarkdownDocument document, BlockParserList parsers, MarkdownParserContext context)
{
@@ -388,8 +388,8 @@ namespace Markdig.Parsers
/// Opens the specified block.
/// </summary>
/// <param name="block">The block.</param>
/// <exception cref="System.ArgumentNullException"></exception>
/// <exception cref="System.ArgumentException">The block must be opened</exception>
/// <exception cref="ArgumentNullException"></exception>
/// <exception cref="ArgumentException">The block must be opened</exception>
public void Open(Block block)
{
if (block == null) ThrowHelper.ArgumentNullException(nameof(block));
@@ -570,7 +570,7 @@ namespace Markdig.Parsers
/// <summary>
/// Tries to continue matching existing opened <see cref="Block"/>.
/// </summary>
/// <exception cref="System.InvalidOperationException">
/// <exception cref="InvalidOperationException">
/// A pending parser cannot add a new block when it is not the last pending block
/// or
/// The NewBlocks is not empty. This is happening if a LeafBlock is not the last to be pushed
@@ -792,7 +792,7 @@ namespace Markdig.Parsers
/// </summary>
/// <param name="result">The last result of matching.</param>
/// <param name="allowClosing">if set to <c>true</c> the processing of a new block will close existing opened blocks].</param>
/// <exception cref="System.InvalidOperationException">The NewBlocks is not empty. This is happening if a LeafBlock is not the last to be pushed</exception>
/// <exception cref="InvalidOperationException">The NewBlocks is not empty. This is happening if a LeafBlock is not the last to be pushed</exception>
private void ProcessNewBlocks(BlockState result, bool allowClosing)
{
var newBlocks = NewBlocks;

View File

@@ -36,7 +36,7 @@ namespace Markdig.Parsers
/// <summary>
/// Base parser for fenced blocks (opened by 3 or more character delimiters on a first line, and closed by at least the same number of delimiters)
/// </summary>
/// <seealso cref="Markdig.Parsers.BlockParser" />
/// <seealso cref="BlockParser" />
public abstract class FencedBlockParserBase<T> : FencedBlockParserBase where T : Block, IFencedBlock
{

View File

@@ -9,7 +9,7 @@ namespace Markdig.Parsers
/// <summary>
/// Parser for a <see cref="FencedCodeBlock"/>.
/// </summary>
/// <seealso cref="Markdig.Parsers.BlockParser" />
/// <seealso cref="BlockParser" />
public class FencedCodeBlockParser : FencedBlockParserBase<FencedCodeBlock>
{
public const string DefaultInfoPrefix = "language-";

View File

@@ -10,7 +10,7 @@ namespace Markdig.Parsers
/// <summary>
/// Block parser for a <see cref="HeadingBlock"/>.
/// </summary>
/// <seealso cref="Markdig.Parsers.BlockParser" />
/// <seealso cref="BlockParser" />
public class HeadingBlockParser : BlockParser, IAttributesParseable
{

View File

@@ -10,7 +10,7 @@ namespace Markdig.Parsers
/// <summary>
/// Block parser for a <see cref="HtmlBlock"/>.
/// </summary>
/// <seealso cref="Markdig.Parsers.BlockParser" />
/// <seealso cref="BlockParser" />
public class HtmlBlockParser : BlockParser
{
/// <summary>

View File

@@ -18,7 +18,7 @@ namespace Markdig.Parsers
BlockProcessor processor, ref StringSlice slice, IBlock block);
/// <summary>
/// An interface used to tag <see cref="BlockParser"/> that supports parsing <see cref="Markdig.Renderers.Html.HtmlAttributes"/>
/// An interface used to tag <see cref="BlockParser"/> that supports parsing <see cref="Renderers.Html.HtmlAttributes"/>
/// </summary>
public interface IAttributesParseable
{

View File

@@ -9,7 +9,7 @@ namespace Markdig.Parsers
/// Base interface for a <see cref="BlockParser"/>.
/// </summary>
/// <typeparam name="TProcessor"></typeparam>
/// <seealso cref="Markdig.Parsers.IMarkdownParser{T}" />
/// <seealso cref="IMarkdownParser{T}" />
public interface IBlockParser<in TProcessor> : IMarkdownParser<TProcessor>
{
/// <summary>

View File

@@ -8,7 +8,7 @@ namespace Markdig.Parsers
/// <summary>
/// Block parser for an indented <see cref="CodeBlock"/>.
/// </summary>
/// <seealso cref="Markdig.Parsers.BlockParser" />
/// <seealso cref="BlockParser" />
public class IndentedCodeBlockParser : BlockParser
{
public override bool CanInterrupt(BlockProcessor processor, Block block)

View File

@@ -8,7 +8,7 @@ namespace Markdig.Parsers
/// <summary>
/// A list of <see cref="InlineParser"/>.
/// </summary>
/// <seealso cref="Markdig.Parsers.ParserList{Markdig.Parsers.InlineParser, Markdig.Parsers.InlineParserState}" />
/// <seealso cref="Parsers.ParserList{Parsers.InlineParser, Parsers.InlineParserState}" />
public class InlineParserList : ParserList<InlineParser, InlineProcessor>
{
public InlineParserList(IEnumerable<InlineParser> parsers) : base(parsers)

View File

@@ -34,7 +34,7 @@ namespace Markdig.Parsers
/// <param name="document">The document.</param>
/// <param name="parsers">The parsers.</param>
/// <param name="inlineCreated">The inline created event.</param>
/// <exception cref="System.ArgumentNullException">
/// <exception cref="ArgumentNullException">
/// </exception>
public InlineProcessor(MarkdownDocument document, InlineParserList parsers, bool preciseSourcelocation, MarkdownParserContext context)
{

View File

@@ -10,7 +10,7 @@ namespace Markdig.Parsers.Inlines
/// <summary>
/// An inline parser for parsing <see cref="AutolinkInline"/>.
/// </summary>
/// <seealso cref="Markdig.Parsers.InlineParser" />
/// <seealso cref="InlineParser" />
public class AutolineInlineParser : InlineParser
{
/// <summary>

View File

@@ -10,7 +10,7 @@ namespace Markdig.Parsers.Inlines
/// <summary>
/// An inline parser for a <see cref="CodeInline"/>.
/// </summary>
/// <seealso cref="Markdig.Parsers.InlineParser" />
/// <seealso cref="InlineParser" />
public class CodeInlineParser : InlineParser
{
/// <summary>

View File

@@ -9,7 +9,7 @@ namespace Markdig.Parsers.Inlines
/// <summary>
/// An inline parser for escape characters.
/// </summary>
/// <seealso cref="Markdig.Parsers.InlineParser" />
/// <seealso cref="InlineParser" />
public class EscapeInlineParser : InlineParser
{
public EscapeInlineParser()

View File

@@ -12,7 +12,7 @@ namespace Markdig.Parsers.Inlines
/// <summary>
/// An inline parser for HTML entities.
/// </summary>
/// <seealso cref="Markdig.Parsers.InlineParser" />
/// <seealso cref="InlineParser" />
public class HtmlEntityParser : InlineParser
{
/// <summary>

View File

@@ -10,7 +10,7 @@ namespace Markdig.Parsers.Inlines
/// <summary>
/// An inline parser for <see cref="LineBreakInline"/>.
/// </summary>
/// <seealso cref="Markdig.Parsers.InlineParser" />
/// <seealso cref="InlineParser" />
public class LineBreakInlineParser : InlineParser
{
/// <summary>

View File

@@ -10,7 +10,7 @@ namespace Markdig.Parsers.Inlines
/// <summary>
/// An inline parser for <see cref="LinkInline"/>.
/// </summary>
/// <seealso cref="Markdig.Parsers.InlineParser" />
/// <seealso cref="InlineParser" />
public class LinkInlineParser : InlineParser
{
/// <summary>

View File

@@ -11,7 +11,7 @@ namespace Markdig.Parsers.Inlines
/// <summary>
/// An inline parser for parsing <see cref="LiteralInline"/>.
/// </summary>
/// <seealso cref="Markdig.Parsers.InlineParser" />
/// <seealso cref="InlineParser" />
public sealed class LiteralInlineParser : InlineParser
{
public delegate void PostMatchDelegate(InlineProcessor processor, ref StringSlice slice);

View File

@@ -11,7 +11,7 @@ namespace Markdig.Parsers
/// <summary>
/// A parser for a list block and list item block.
/// </summary>
/// <seealso cref="Markdig.Parsers.BlockParser" />
/// <seealso cref="BlockParser" />
public class ListBlockParser : BlockParser
{
private CharacterMap<ListItemParser> mapItemParsers;

View File

@@ -38,7 +38,7 @@ namespace Markdig.Parsers
/// <param name="text">The reader.</param>
/// <param name="pipeline">The pipeline.</param>
/// <param name="context">A parser context used for the parsing.</param>
/// <exception cref="System.ArgumentNullException">
/// <exception cref="ArgumentNullException">
/// </exception>
private MarkdownParser(string text, MarkdownPipeline pipeline, MarkdownParserContext context)
{
@@ -72,7 +72,7 @@ namespace Markdig.Parsers
/// <param name="pipeline">The pipeline used for the parsing.</param>
/// <param name="context">A parser context used for the parsing.</param>
/// <returns>An AST Markdown document</returns>
/// <exception cref="System.ArgumentNullException">if reader variable is null</exception>
/// <exception cref="ArgumentNullException">if reader variable is null</exception>
public static MarkdownDocument Parse(string text, MarkdownPipeline pipeline = null, MarkdownParserContext context = null)
{
if (text == null) ThrowHelper.ArgumentNullException_text();

View File

@@ -8,7 +8,7 @@ namespace Markdig.Parsers
/// <summary>
/// The default parser for parsing numbered list item (e.g: 1) or 1.)
/// </summary>
/// <seealso cref="Markdig.Parsers.OrderedListItemParser" />
/// <seealso cref="OrderedListItemParser" />
public class NumberedListItemParser : OrderedListItemParser
{
/// <summary>

View File

@@ -7,7 +7,7 @@ namespace Markdig.Parsers
/// <summary>
/// Base class for an ordered list item parser.
/// </summary>
/// <seealso cref="Markdig.Parsers.ListItemParser" />
/// <seealso cref="ListItemParser" />
public abstract class OrderedListItemParser : ListItemParser
{
/// <summary>

View File

@@ -8,7 +8,7 @@ namespace Markdig.Parsers
/// Base class for a <see cref="BlockParser"/> or <see cref="InlineParser"/>.
/// </summary>
/// <typeparam name="TProcessor">Type of the parser processor</typeparam>
/// <seealso cref="Markdig.Parsers.IMarkdownParser{TParserState}" />
/// <seealso cref="IMarkdownParser{TParserState}" />
public abstract class ParserBase<TProcessor> : IMarkdownParser<TProcessor>
{
/// <summary>

View File

@@ -13,7 +13,7 @@ namespace Markdig.Parsers
/// </summary>
/// <typeparam name="T">Type of the parser</typeparam>
/// <typeparam name="TState">The type of the parser state.</typeparam>
/// <seealso cref="Markdig.Helpers.OrderedList{T}" />
/// <seealso cref="OrderedList{T}" />
public abstract class ParserList<T, TState> : OrderedList<T> where T : ParserBase<TState>
{
private readonly CharacterMap<T[]> charMap;
@@ -122,7 +122,7 @@ namespace Markdig.Parsers
/// <summary>
/// Initializes this instance with specified parser state.
/// </summary>
/// <exception cref="System.InvalidOperationException">
/// <exception cref="InvalidOperationException">
/// Unexpected null parser found
/// or
/// </exception>

View File

@@ -9,7 +9,7 @@ namespace Markdig.Parsers
/// <summary>
/// A block parser for a <see cref="QuoteBlock"/>.
/// </summary>
/// <seealso cref="Markdig.Parsers.BlockParser" />
/// <seealso cref="BlockParser" />
public class QuoteBlockParser : BlockParser
{
/// <summary>

View File

@@ -9,7 +9,7 @@ namespace Markdig.Parsers
/// <summary>
/// A block parser for a <see cref="ThematicBreakBlock"/>.
/// </summary>
/// <seealso cref="Markdig.Parsers.BlockParser" />
/// <seealso cref="BlockParser" />
public class ThematicBreakParser : BlockParser
{
/// <summary>

View File

@@ -6,7 +6,7 @@ namespace Markdig.Parsers
/// <summary>
/// The default parser used to parse unordered list item (-, +, *)
/// </summary>
/// <seealso cref="Markdig.Parsers.ListItemParser" />
/// <seealso cref="ListItemParser" />
public class UnorderedListItemParser : ListItemParser
{
/// <summary>

Some files were not shown because too many files have changed in this diff Show More