Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to put span in Jade?

Tags:

html

css

pug

I searched through the web, but I didn't find the answer of my question. How can I put a span tag inside p tag with the help of Jade template language?

like image 848
Ruslan Doronichev Avatar asked Dec 02 '14 10:12

Ruslan Doronichev


Video Answer


1 Answers

p
    | Text before span
    span Text in span
    | Text after span

Just basic Jade nesting and text...

like image 58
Scimonster Avatar answered Oct 18 '22 23:10

Scimonster