summaryrefslogtreecommitdiffstats
path: root/tpl/views/code.pug
blob: a5e450a1678983197a1681d8583c49e87294298d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
mixin view-code 
    +view('code', 'Code')
        .c-box.s-code
            p.u-mt-0= loremIpsum
            pre
                code.
                    font-weight:    700;
                    letter-spacing: 1px;
                    text-transform: uppercase;
            p= loremIpsum

        .c-box.s-code
            And here is an #[code inline] code tag.