markdown and options fixes