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