code cleaning
fix header parser
accept custum block parser
introduce named parmeter
caption before
fix minor and trivial bug
handle ids