/// <summary>
 /// Initializes a new code block renderer with specified <paramref name="fallback"/>.
 /// </summary>
 /// <param name="fallback">A fallback code block renderer.</param>
 /// <param name="options">The options for configuration the syntax highlighter extension.</param>
 public SyntaxHighlighterCodeBlockRenderer(CodeBlockRenderer fallback, SyntaxHighlighterOptions options)
 {
     Fallback = fallback ?? new CodeBlockRenderer();
     Options  = options ?? new SyntaxHighlighterOptions();
 }
 /// <summary>
 /// Initializes a new code block renderer with default options.
 /// </summary>
 public SyntaxHighlighterCodeBlockRenderer()
 {
     Fallback = new CodeBlockRenderer();
     Options  = new SyntaxHighlighterOptions();
 }
 /// <summary>
 /// Initializes a new instance with default options.
 /// </summary>
 public SyntaxHighlighterMarkdownExtension()
 {
     Options = new SyntaxHighlighterOptions();
 }
 /// <summary>
 /// Initializes a new instance with default options.
 /// </summary>
 /// <param name="options">The options for configuration the syntax highlighter extension.</param>
 public SyntaxHighlighterMarkdownExtension(SyntaxHighlighterOptions options)
 {
     Options = options ?? new SyntaxHighlighterOptions();
 }
 /// <summary>
 /// Adds a new <see cref="SyntaxHighlighterMarkdownExtension"/> to the specified Markdig <paramref name="pipeline"/>.
 /// </summary>
 /// <param name="pipeline">The pipeline.</param>
 /// <param name="options">The options for configuration the syntax highlighter extension.</param>
 /// <returns>The pipeline.</returns>
 public static MarkdownPipelineBuilder UseSyntaxHighlighter(this MarkdownPipelineBuilder pipeline, out SyntaxHighlighterOptions options)
 {
     options = new SyntaxHighlighterOptions();
     pipeline.Extensions.Add(new SyntaxHighlighterMarkdownExtension(options));
     return(pipeline);
 }