Mercurial > hg > nginx-site
comparison xsls/content.xsls @ 15:2f7420346aee
Initial emphasizing support. Using it for "Q:" and "A:" letter in FAQ.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 25 Aug 2011 19:34:06 +0000 |
parents | 61e04fc01027 |
children | 1fc034261cf4 |
comparison
equal
deleted
inserted
replaced
14:22b3cd717e55 | 15:2f7420346aee |
---|---|
15 X:template = "para" { <p> !!; </p> } | 15 X:template = "para" { <p> !!; </p> } |
16 | 16 |
17 X:template = "item/para" { <p class="noindent"> !!; </p> } | 17 X:template = "item/para" { <p class="noindent"> !!; </p> } |
18 | 18 |
19 X:template = "para[@align]" { <p align="{@align}"> !!; </p> } | 19 X:template = "para[@align]" { <p align="{@align}"> !!; </p> } |
20 | |
21 X:template = "para[@initial]" { | |
22 <p class="noindent"> | |
23 <span class="initial"><b> !{@initial} X:text{ } </b></span> | |
24 !!; | |
25 </p> | |
26 } | |
20 | 27 |
21 | 28 |
22 X:template = "programlisting" { <blockquote><pre> !!; </pre></blockquote> } | 29 X:template = "programlisting" { <blockquote><pre> !!; </pre></blockquote> } |
23 | 30 |
24 X:template = "para/programlisting" { | 31 X:template = "para/programlisting" { |