From 2dcf168dde754d18152b008473269a803d6e650b Mon Sep 17 00:00:00 2001 From: Shaun McCance Date: Sat, 12 Sep 2015 11:20:39 -0400 Subject: Make example a formal element https://github.com/projectmallard/projectmallard.org/issues/4 --- xslt/common/html.xsl | 1 + xslt/mallard/html/mal2html-block.xsl | 18 ++++++++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/xslt/common/html.xsl b/xslt/common/html.xsl index a29a38bb..b1db80bc 100644 --- a/xslt/common/html.xsl +++ b/xslt/common/html.xsl @@ -1084,6 +1084,7 @@ div.example { ; padding-: 1em; } +div.example > div.inner > div.region > div.desc { font-style: italic; } div.figure { margin-: 1.72em; padding: 4px; diff --git a/xslt/mallard/html/mal2html-block.xsl b/xslt/mallard/html/mal2html-block.xsl index 55956924..6eb999cd 100644 --- a/xslt/mallard/html/mal2html-block.xsl +++ b/xslt/mallard/html/mal2html-block.xsl @@ -251,17 +251,31 @@ in accordance with the Mallard specification on fallback block content.
+ example + + ui-expander + if-if - - + +
+ +
+ +
+ + + +
+
+
-- cgit v1.2.1