PUG to HTML Converter

Past Your Code (PUG)

Result (HTML)

Why We convert Pug to HTML ?

Pug is a templating engine for Nodejs which comes with various features including filters, includes, inheritance, interpolation, etc, These features give an advantage of using a pug template over traditional HTML. All we know that browsers only read HTML, CSS, and javascript, So to make the browser understand our view template ( written in pug ), we have to convert it to native HTML markups.

What is Pug ?

Pug is a high performance templating engine for Nodejs influenced by Haml. Its engine compiles array, loops, conditions, mixins, etc used in the template to native HTML. Pug syntax based on white space or indentation sensitive principle. Before the year of 2015, the pug was known to be Jade. It was forced to change its name due to a trademark claim in the year 2015.

What is HTML ?

HTML stands for a hypertext markup language. This is used for the designing of web pages. HTML is made up of embedded programs that is written in a scripting language. The scripting language may include JavaScript. These determine the behaviour and content of webpages. Hence, HTML works in the open format.