public MentionExtension(MentionOptions options)
 {
     _options = options;
 }
        public static MarkdownPipelineBuilder UseMentions(this MarkdownPipelineBuilder pipeline, MentionOptions options)
        {
            var extensions = pipeline.Extensions;

            if (!extensions.Contains <MentionExtension>())
            {
                extensions.Add(new MentionExtension(options));
            }

            return(pipeline);
        }
 public MentionInlineParser(MentionOptions options)
 {
     _options          = options;
     _baseUrl          = _options.BaseUrl;
     OpeningCharacters = "@".ToCharArray();
 }