IGassmann / remark-directive-rehype

Remark plugin to enable Markdown directives to be parsed as HTML.
The Unlicense
30 stars 3 forks source link

Unable to use attributes in directives(react-markdown) #19

Open chengoramazon opened 11 months ago

chengoramazon commented 11 months ago

Hi,

I am following your youtube example unable to pass attributes.

:youtube-video[cat]{id="test"} Keep seeing Uncaught TypeError: Cannot set properties of undefined (setting 'directiveAttributes')

Do you have any idea about it? thx

CapsE commented 9 months ago

I've run into the same issue. Downgrading to version 0.3.0 solved the issue.