github.com/servernoj/jade@v0.0.0-20231225191405-efec98d19db1/testdata/v1/text.jade (about)

     1  | An example of an
     2  a(href='#') inline
     3  | link.
     4  
     5  form
     6    label Username:
     7      input(type='text', name='user[name]')
     8      p
     9        | Just an example of some text usage.
    10        | You can have <em>inline</em> html,
    11        | as well as 
    12        strong tags
    13        | .
    14  
    15        | Interpolation is also supported. The 
    16        | username is currently "#{name}".
    17  
    18    label Email:
    19      input(type='text', name='user[email]')
    20      p
    21        | Email is currently 
    22        em= email
    23        | .
    24  
    25    // alternatively, if we plan on having only
    26    // text or inline-html, we can use a trailing
    27    // "." to let pug know we want to omit pipes
    28    
    29    label Username:
    30      input(type='text')
    31      p.
    32        Just an example, like before
    33        however now we can omit those
    34        annoying pipes!.
    35        
    36        Wahoo.