Sample rendering (todo: fix toc/line references)