示例#1
0
        // Constructor
        public Markdown()
        {
            HtmlClassFootnotes   = "footnotes";
            m_StringBuilder      = new StringBuilder();
            m_StringBuilderFinal = new StringBuilder();
            m_StringScanner      = new StringScanner();
            m_SpanFormatter      = new SpanFormatter(this);
            m_LinkDefinitions    = new Dictionary <string, LinkDefinition>(StringComparer.CurrentCultureIgnoreCase);
            m_Footnotes          = new Dictionary <string, Block>();
            m_UsedFootnotes      = new List <Block>();
            m_UsedHeaderIDs      = new Dictionary <string, bool>();

            AdvancedStyles = new AdvancedStyles();
        }
示例#2
0
        // Constructor
        public Markdown()
        {
            HtmlClassFootnotes = "footnotes";
            m_StringBuilder = new StringBuilder();
            m_StringBuilderFinal = new StringBuilder();
            m_StringScanner = new StringScanner();
            m_SpanFormatter = new SpanFormatter(this);
            m_LinkDefinitions = new Dictionary<string, LinkDefinition>(StringComparer.CurrentCultureIgnoreCase);
            m_Footnotes = new Dictionary<string, Block>();
            m_UsedFootnotes = new List<Block>();
            m_UsedHeaderIDs = new Dictionary<string, bool>();

            AdvancedStyles = new AdvancedStyles();
        }