summaryrefslogtreecommitdiff
path: root/commonmark.rb
AgeCommit message (Collapse)Author
2014-11-23Do not distinguish btw fenced and indented code in AST.John MacFarlane
Use a single CMARK_NODE_CODE_BLOCK tag for both. Distinguish them when needed for parsing by looking at the fence_length attribute, which is 0 for indented blocks.
2014-11-23Revert "Revert "Remove distinction btw atx and setext header in AST.""John MacFarlane
This reverts commit 4570eb2bff2e1b71fa5b6408abbc69c98ff5ff24.
2014-11-22Revert "Remove distinction btw atx and setext header in AST."John MacFarlane
This reverts commit a71423f6ee1b77d9f79d42599ea00b4ca99f5da0. Not quite sure about this change, so reverting for now. Note that we still have a distinction between fenced and indented code blocks in the AST. These two distinctions seem to stand or fall together.
2014-11-22Remove distinction btw atx and setext header in AST.John MacFarlane
Now we just have 'header' -- Setext and ATX are just two ways of forming these; it's not a semantic difference that should remain in the AST.
2014-11-22commonmark.rb: Added 'transform' and demos.John MacFarlane
2014-11-22Added examples of using walk.John MacFarlane
2014-11-22commonmark.rb - added walk, an iterator that walks the AST.John MacFarlane
2014-11-21commonmark.rb: omit title if empty.John MacFarlane
2014-11-21commonmark.rb - support remaining elements in HTML renderer.John MacFarlane
Halt on finding unsupported method.
2014-11-21More commonmark.rb improvements.John MacFarlane
2014-11-21commonmark.rb - more elegant out, blocksep.John MacFarlane
2014-11-21Further improvements to commonmark.rb.John MacFarlane
2014-11-21commonmark.rb - implemented headers.John MacFarlane
2014-11-21commonmark.rb: separated Renderer class.John MacFarlane
2014-11-20commonmark.rb: more progress.John MacFarlane
2014-11-20commonmark.rb improvements.John MacFarlane
2014-11-20Added commonmark.rb, steps towards a nice ruby wrapper of the parser.John MacFarlane