parsedown-extra
parsedown-extra copied to clipboard
Can't embed video
Trying to embed a youtube video but I can't seem to get it to work when using ParsedownExtra. When using the HTML (embed html from YouTube), I'm getting:
DOMDocument::loadHTML(): Empty string supplied as input
I've also tried embedding using markdown but that doesn't produce the video at all. I'm fine using HTML to do it if there's a way to get around the error above.
Sometimes you need to strictly add two line break before and after the HTML block elements.