Skip to content

remark-align/remark-iframes : aligned video are not parsed #293

Open
@artragis

Description

@artragis

using this minimal markdown :

-> !(https://www.youtube.com/watch?v=BrGwJC6PiB0) <-

I get

 <div class="align-center"><p> !(<a href="https://www.youtube.com/watch?v=BrGwJC6PiB0">https://www.youtube.com/watch?v=BrGwJC6PiB0</a>) </p></div>

but we expect the same behaviour as

->
!(https://www.youtube.com/watch?v=BrGwJC6PiB0)
<-

i.e :

 <div class="align-center"><div class="video-container"><div class="video-wrapper"><iframe src="https://www.youtube.com/embed/BrGwJC6PiB0" width="560" height="315" allowfullscreen frameborder="0"></iframe></div></div></div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions