text.pug 764 B

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