summaryrefslogtreecommitdiffstats
path: root/book.json
diff options
context:
space:
mode:
Diffstat (limited to 'book.json')
-rw-r--r--book.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/book.json b/book.json
index 1f6efb9..dee1ed5 100644
--- a/book.json
+++ b/book.json
@@ -62,6 +62,16 @@
"substitute": "</div>"
},
{
+ "pattern": "<!-- warning -->",
+ "flags": "g",
+ "substitute": "<div class=\"warning\">"
+ },
+ {
+ "pattern": "<!-- endwarning -->",
+ "flags": "g",
+ "substitute": "</div>"
+ },
+ {
"pattern": "!\\[(.*?)\\]\\((.*?)(?:\\s+\"(.*)\")?\\){0,}{caption=1([^\\}]*)}",
"flags": "gmi",
"substitute": "<figure id=\"fig_PAGE_LEVEL_._INDEX_\"><img $3 alt=\"$1\" title=\"$1\" href=\"$2\"><figcaption></figcaption></figure>",