diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-10-16 17:41:10 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-10-16 17:41:10 +0200 |
commit | 8c82a12896a17bbd94d107bc15c03b1816a8420c (patch) | |
tree | ef6941d425272230ff41bba86787576d03e5bd94 /book.json | |
parent | e661ef5b90f40ef61a1f8c0030abcf597c2dcbc6 (diff) |
Fixed and improved Note and Warning rendering.
Diffstat (limited to 'book.json')
-rw-r--r-- | book.json | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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>", |