krakjoe / cmark

CommonMark for PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot pass second parameter to CommonMark\Parse

ntzm opened this issue · comments

You are supposed to be able to pass options as the second parameter of CommonMark\Parse, however it gives you:

TypeError: CommonMark\Parse() expects exactly 1 parameter, 2 given