예제 #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());
        }
예제 #2
0
 public ParseState(TextSource source, TextileParseSettings settings)
 {
     _source   = source;
     _settings = settings;
 }