simplified formatting API. still errors when formatting to block level elements