Fix #204: don't be lazy and collapse the spans

Before this change each line of a code block would have a separate
TypefaceSpan object. Add code to detect when the current indented line
is a continuation of the code block so we can have one span per code
block instead.