Esempio n. 1
0
        public Document(string markDown, IMarkdownProcessor processor)
        {
            this.MarkDownSource = markDown;

            this._transformer = new MDTransformer(processor);
            this.HTMLResult = this._transformer.Transform(markDown);
        }
Esempio n. 2
0
        public Document(string markDown, IMarkdownProcessor processor)
        {
            this.MarkDownSource = markDown;

            this._transformer = new MDTransformer(processor);
            this.HTMLResult   = this._transformer.Transform(markDown);
        }