Traverse markup tree, applying style rules to generate nested flow objects:
document {fontFamily: "Arial"; fontSize: 12pt} block {fontWeight: bold; fontSize: 1.5em; textAlign: center} text "This is a heading" block {textAlign: left} text "This is normal text" block {textAlign: left} text "This is " inline {fontWeight: italic} text "italic"