fix typo, add inline and caption options