improve(lib): refact parser renderer structure
fix(lib): raw html post not generated