public MantisLinkRenderer(MantisLinkOptions options) { _options = options; }
public MantisLinkerExtension(MantisLinkOptions options) { _options = options; }
public static MarkdownPipelineBuilder UseMantisLinks(this MarkdownPipelineBuilder pipeline, MantisLinkOptions options) { OrderedList <IMarkdownExtension> extensions; extensions = pipeline.Extensions; if (!extensions.Contains <MantisLinkerExtension>()) { extensions.Add(new MantisLinkerExtension(options)); } return(pipeline); }