Mercurial > hg > nginx-site
diff 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 |
line wrap: on
line diff
--- a/xsls/content.xsls +++ b/xsls/content.xsls @@ -18,6 +18,13 @@ X:template = "item/para" { <p class="noi X:template = "para[@align]" { <p align="{@align}"> !!; </p> } +X:template = "para[@initial]" { + <p class="noindent"> + <span class="initial"><b> !{@initial} X:text{ } </b></span> + !!; + </p> +} + X:template = "programlisting" { <blockquote><pre> !!; </pre></blockquote> }