fix some typos
convert markup to function
update version and readme