Program_Sauce
Program_Sauce

Reputation: 283

how to convert the following html into jade

The following is the code i want to convert to jade from html.

 <video width="320" height="240" controls>
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
  Your browser does not support the video tag.
 </video>

Thanks

Upvotes: 3

Views: 3751

Answers (3)

ess
ess

Reputation: 145

You can use http://html2jade.org/ to convert in both directions.

(HTML2Jade referenced by @Sushrut is a dead link)

Upvotes: 3

Sushrut
Sushrut

Reputation: 1551

You can use this to convert vice-verse : HTML2Jade

Upvotes: 0

Sergei Beregov
Sergei Beregov

Reputation: 738

You can test it here: http://jade-lang.com/demo/

video(width="320", height="240", controls)
  source(src="movie.mp4", type="video/mp4")
  source(src="movie.ogg", type="video/ogg")
  |Your browser does not support the video tag.

Upvotes: 5

Related Questions