Reputation: 47
How do I to write HTML code in Jade?
<div class="profile-env">
<section class="profile-info-tabs">
<div class="row">
<div class="col-md-12">
<div class="panel panel-primary" data-collapsed="0">
`enter code here`
<div class="panel-body">
<h2>University Admins <span><a href="add-admin.html" class="btn btn-default pull-right">
<i class="entypo-user-add"></i>
ADD Admin
</a></span>
</h2>
<br />
</div>
</div>
</div>
</div>
</section>
</div>
Upvotes: 1
Views: 47
Reputation: 1187
You can use a online conversor like this: http://html2jade.org/
Upvotes: 1
Reputation: 13
I believe it's called pug now, check this out for some basics; https://codeburst.io/getting-started-with-pug-template-engine-e49cfa291e33
.profile-env
section.profile-info-tabs
.row
.col-md-12
.panel.panel-primary(data-collapsed='0')
| `enter code here`
.panel-body
h2
| University Admins
span
a.btn.btn-default.pull-right(href='add-admin.html')
i.entypo-user-add
| ADD Admin
br
Upvotes: 0