summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2012-08-14Bump version numberRyan Waldron
2012-08-10Correct module nameRyan Waldron
2012-08-09Read sub-blocks from temporary 'buffer' Reader object, not the main readerRyan Waldron
2012-08-07Get parent document sanely (because parent might BE a Document). Don't keep ↵Ryan Waldron
nil blocks returned by Lexer#next_block. Get rid of a stray .any? that was confusing Reader.
2012-08-03Bump version #Ryan Waldron
2012-08-03Alter how we get the Renderer object for rendering so that we properly pass ↵Ryan Waldron
in possible :template_dir options
2012-08-03Expose @reader as an instance var so we can get the raw Document source from ↵Ryan Waldron
a Document instance
2012-08-03Add alias so that default templates for github/gitscm-next 'just work'Ryan Waldron
2012-08-03Fix some leftover spots from Lexer extractionRyan Waldron
2012-08-03Let's try to handle String input helpfullyRyan Waldron
2012-08-03Quiet down debugging output by defaultRyan Waldron
2012-08-03Add gitscm-next-style include delegation to a blockRyan Waldron
2012-08-01Add support for Tilt-compatible templates for rendering Asciidoc document ↵Ryan Waldron
elements
2012-08-01Fix a couple of commentsRyan Waldron
2012-07-31Deref references through parent.document. Shut up, Demeter. I mean it, shut ↵Ryan Waldron
up. Also remove spurious private declaration.
2012-07-31Initial extraction of lexing activity to Lexer classRyan Waldron
2012-07-30Don't expose the Document's Reader objectRyan Waldron
May have to later, but for now, don't even make it available as an instance variable. Every consumer of it should have it passed in, so we can be sure that methods that need to build their own Readers and recurse (like #next_block) are doing it right.
2012-07-30Fix some TomDoc commentsRyan Waldron
2012-07-30Get defines from Reader objectRyan Waldron
So that attributes work inside the Document or in places expecting to find them in the Document. This isn't going to work long-term.
2012-07-30Extract Reader class from DocumentRyan Waldron
2012-07-27Clarify nasty little discrepancy between Asciidoc User Guide and asciidoc ↵Ryan Waldron
default behavior (and implement the behavior, not the Guide)
2012-07-24Break out html attribute substitution; this whole processing order needs to ↵Ryan Waldron
be redone
2012-07-24Add attr deletion and test for sameRyan Waldron
2012-07-20Working on getting attribute substitution working, including dropping lines ↵Ryan Waldron
with bad attr refs. Less global stuff, more line-by-line stuff to make this happen. Code is in a mind-bogglingly bad state right now.
2012-07-19Leave note for myself about dropping lines with bad attr refsRyan Waldron
2012-07-19Sanitize attribute namesRyan Waldron
2012-07-16Now that I know what's going on with sidebar blocks, free the ulists to be ↵Ryan Waldron
5-deep
2012-07-16Clarify some more commentsRyan Waldron
2012-07-16Add some more debug output/ trim some TomDoc comments to fit betterRyan Waldron
2012-07-16Fix docs for params and pass an array, not a string, in broken testRyan Waldron
2012-07-16Can't get into the loop body if this_line.nil?Ryan Waldron
2012-06-26Tighten up list item level tracking in #build_ulistRyan Waldron
2012-06-26Render (some) multi-level bulleted lists properly; also add a bunch more ↵Ryan Waldron
debug stuff. Getting noisy in here.
2012-06-22Change variable name that was throwing me off; expand, correct, and clarify ↵Ryan Waldron
a couple of comments
2012-06-22Rearrange a couple of methods.Ryan Waldron
Add option to list_item_segment so we can break when we encounter a list item with a lower level than the current one. Move building :uline block out to its own method. Continuing to tweak rendering for ListItem and :uline blocks.
2012-06-21Try moving list item level and rendering down into ListItem (without a ↵Ryan Waldron
template yet)
2012-06-21More recursive block debug dumpy madnessRyan Waldron
2012-06-21Expand and clean up the recursive debug dump empireRyan Waldron
2012-06-21Simplify and illuminate just a tadRyan Waldron
2012-06-21Add recursive output of block detailsRyan Waldron
2012-06-21Break out :ulist handling from :olist and :colistRyan Waldron
2012-06-21Tighten and clarify regexp for :ulist; fix a comment about :rulerRyan Waldron
2012-06-21Pull renderer from Document object; cache document object once we've walked ↵Ryan Waldron
up ancestry tree to find it
2012-06-20Add a little more control with debut output in testsRyan Waldron
2012-06-20Separate how we treat lines ending in + in attribute values and howRyan Waldron
we do it in paragraphs. Add simple handling of line breaks in paragraphs. (TODO: Discover or verify how lines ending in ' +' are treated in non-paragraph elements.)
2012-06-18Add tests for intrinsics and unknown substitionsRyan Waldron
2012-06-18Fix single- and double-quoted elementsRyan Waldron
2012-06-15Attempt to handle single-quote and double-quote elements right (but it's not ↵Ryan Waldron
right yet)
2012-06-14Go ahead and return nil for a Document that doesn't have a titleRyan Waldron
2012-06-14Don't return nil or try to get names from things that don't have them when ↵Ryan Waldron
extracting the Document's title