refactor: render line, paragraph