Arvind Gupta
Arvind Gupta

Reputation: 47

Conversion of HTML to Jade

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>
Please help me before I throw this computer out of the window.

Upvotes: 1

Views: 47

Answers (2)

Rub&#233;n Soler
Rub&#233;n Soler

Reputation: 1187

You can use a online conversor like this: http://html2jade.org/

Upvotes: 1

Jordan
Jordan

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

Related Questions