<div class="container"> → div.container or .container<div id="main"> → div#main or #main<p>Text</p> → p Text<img src="img.jpg" alt="Image"> → img(src="img.jpg" alt="Image")<!-- Comment --> → //- CommentConvert HTML markup to Pug template syntax. Pug (formerly Jade) is a clean, whitespace-sensitive template engine for Node.js that produces HTML.
<div class="container"><header id="main-header"><h1 class="title">Welcome</h1><nav class="navigation"><ul><li><a href="/">Home</a></li><li><a href="/about">About</a></li></ul></nav></header><main><p>Content here</p></main></div>.containerheader#main-headerh1.titleWelcomenav.navigationullia(href="/")Homelia(href="/about")AboutmainpContent hereEnhance your template workflow with our other tools: Pug to HTML, HTML to JSX, HTML Beautifier, and HTML Formatter.