Fixed opt conditional in marked method

Noticed this bug when writing example usages of marked for the README.