Ejemplo n.º 1
0
        public static IEnumerable <HtmlNode> ToHtmlNodes(TextSource source, TextileParseSettings settings)
        {
            var parse  = new ParseState(source, settings);
            var output = new ParseOutput();
            var state  = new ParagraphState();

            state.TryParse(parse, output);
            return(output.GetNodes());
        }
Ejemplo n.º 2
0
 public ParseState(TextSource source, TextileParseSettings settings)
 {
     _source   = source;
     _settings = settings;
 }