vendredi 17 avril 2015

Break line or stopping the compiling of a JADE document

I'm working in a Wordpress theme, so I need to compile all my Jade files in PHP with the grunt-jade package


So, as you know some documents in wordpress are not necessarily closing the html tags, so I need a way to force JADE to stop compiling or put a breaking line in the code to get a result like bellow, without closing the initial tag or the



<html>
<head>
<title>Theme</title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">
</head>
<body>
<div id="wrapper">
<div id="header">
<h1>HEADER</h1>
</div>

Aucun commentaire:

Enregistrer un commentaire