summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortommilligan <tom.milligan@uipath.com>2023-12-30 20:25:19 +0000
committertommilligan <tom.milligan@uipath.com>2023-12-30 20:25:19 +0000
commiteafb1c575e0d4f3f13146f445dd05613c012f04e (patch)
tree4afafeda4d6ebc94073fa6273c46f1835e56f60b
parent9083a3365a78be11297e381bc5433f12a56a09d7 (diff)
Deploying to gh-pages from @ tommilligan/mdbook-admonish@c4a05dae9dbb472d03cdd0e316e984939f10b9d3 ๐Ÿš€
-rw-r--r--404.html1
-rw-r--r--index.html38
-rw-r--r--mdbook-admonish-custom.css20
-rw-r--r--mdbook-admonish.css35
-rw-r--r--overview.html38
-rw-r--r--print.html59
-rw-r--r--reference.html22
-rw-r--r--searchindex.js2
-rw-r--r--searchindex.json2
9 files changed, 199 insertions, 18 deletions
diff --git a/404.html b/404.html
index 5cfd3d5..a1d74c1 100644
--- a/404.html
+++ b/404.html
@@ -31,6 +31,7 @@
<!-- Custom theme stylesheets -->
<link rel="stylesheet" href="./mdbook-admonish.css">
+ <link rel="stylesheet" href="./mdbook-admonish-custom.css">
</head>
<body class="sidebar-visible no-js">
diff --git a/index.html b/index.html
index 689b95a..001467d 100644
--- a/index.html
+++ b/index.html
@@ -30,6 +30,7 @@
<!-- Custom theme stylesheets -->
<link rel="stylesheet" href="./mdbook-admonish.css">
+ <link rel="stylesheet" href="./mdbook-admonish-custom.css">
</head>
<body class="sidebar-visible no-js">
@@ -188,6 +189,7 @@
<li><a href="#collapsible">Collapsible</a></li>
</ul>
</li>
+<li><a href="#custom-blocks">Custom blocks</a></li>
</ul>
</li>
</ul>
@@ -380,6 +382,42 @@ Content will be hidden initially.
<p>Content will be hidden initially.</p>
</div>
</details>
+<h3 id="custom-blocks"><a class="header" href="#custom-blocks">Custom blocks</a></h3>
+<p>You can add new block types via the <code>book.toml</code> config:</p>
+<pre><code class="language-toml"># book.toml
+
+[[preprocessor.admonish.custom]]
+directive = &quot;expensive&quot;
+icon = &quot;./money-bag.svg&quot;
+color = &quot;#24ab38&quot;
+aliases = [&quot;money&quot;, &quot;cash&quot;, &quot;budget&quot;]
+</code></pre>
+<p>You must then generate the relevant CSS file, and reference it in the <code>output.html</code> section.
+<code>mdbook-admonish</code> has a helper to quickly do this for you:</p>
+<pre><code class="language-bash"># Generates a file at ./mdbook-admonish-custom.css with your styles in
+$ mdbook-admonish generate-custom ./mdbook-admonish-custom.css
+</code></pre>
+<pre><code class="language-toml"># book.toml
+
+[output.html]
+# Reference the new file, so it's bundled in with book styles
+additional-css = [&quot;./mdbook-admonish.css&quot;, &quot;./mdbook-admonish-custom.css&quot;]
+</code></pre>
+<p>You can then reference the new directive (or alias) like usual in your blocks.</p>
+<pre><code>```admonish expensive
+Remember, this operation costs money!
+```
+</code></pre>
+<div id="admonition-expensive" class="admonition admonish-expensive">
+<div class="admonition-title">
+<p>Expensive</p>
+<p><a class="admonition-anchor-link" href="#admonition-expensive"></a></p>
+</div>
+<div>
+<p>Remember, this operation costs money!</p>
+</div>
+</div>
+<p>You can also set a default <code>title</code>. See the <a href="./reference.html">Reference</a> page for more details.</p>
</main>
diff --git a/mdbook-admonish-custom.css b/mdbook-admonish-custom.css
new file mode 100644
index 0000000..5b8bb11
--- /dev/null
+++ b/mdbook-admonish-custom.css
@@ -0,0 +1,20 @@
+:root {
+ --md-admonition-icon--admonish-expensive: url("data:image/svg+xml;charset=utf-8,<svg width='800px' height='800px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools --><!-- ref: https://www.svgrepo.com/svg/526038/money-bag --><!-- Used under CC Attribution License; Author: Solar Icons --><path fill-rule='evenodd' clip-rule='evenodd' d='M12.052 1.25H11.948C11.0495 1.24997 10.3003 1.24995 9.70552 1.32991C9.07773 1.41432 8.51093 1.59999 8.05546 2.05546C7.59999 2.51093 7.41432 3.07773 7.32991 3.70552C7.27259 4.13189 7.25637 5.15147 7.25179 6.02566C5.22954 6.09171 4.01536 6.32778 3.17157 7.17157C2 8.34315 2 10.2288 2 14C2 17.7712 2 19.6569 3.17157 20.8284C4.34314 22 6.22876 22 9.99998 22H14C17.7712 22 19.6569 22 20.8284 20.8284C22 19.6569 22 17.7712 22 14C22 10.2288 22 8.34315 20.8284 7.17157C19.9846 6.32778 18.7705 6.09171 16.7482 6.02566C16.7436 5.15147 16.7274 4.13189 16.6701 3.70552C16.5857 3.07773 16.4 2.51093 15.9445 2.05546C15.4891 1.59999 14.9223 1.41432 14.2945 1.32991C13.6997 1.24995 12.9505 1.24997 12.052 1.25ZM15.2479 6.00188C15.2434 5.15523 15.229 4.24407 15.1835 3.9054C15.1214 3.44393 15.0142 3.24644 14.8839 3.11612C14.7536 2.9858 14.5561 2.87858 14.0946 2.81654C13.6116 2.7516 12.964 2.75 12 2.75C11.036 2.75 10.3884 2.7516 9.90539 2.81654C9.44393 2.87858 9.24644 2.9858 9.11612 3.11612C8.9858 3.24644 8.87858 3.44393 8.81654 3.9054C8.771 4.24407 8.75661 5.15523 8.75208 6.00188C9.1435 6 9.55885 6 10 6H14C14.4412 6 14.8565 6 15.2479 6.00188ZM12 9.25C12.4142 9.25 12.75 9.58579 12.75 10V10.0102C13.8388 10.2845 14.75 11.143 14.75 12.3333C14.75 12.7475 14.4142 13.0833 14 13.0833C13.5858 13.0833 13.25 12.7475 13.25 12.3333C13.25 11.9493 12.8242 11.4167 12 11.4167C11.1758 11.4167 10.75 11.9493 10.75 12.3333C10.75 12.7174 11.1758 13.25 12 13.25C13.3849 13.25 14.75 14.2098 14.75 15.6667C14.75 16.857 13.8388 17.7155 12.75 17.9898V18C12.75 18.4142 12.4142 18.75 12 18.75C11.5858 18.75 11.25 18.4142 11.25 18V17.9898C10.1612 17.7155 9.25 16.857 9.25 15.6667C9.25 15.2525 9.58579 14.9167 10 14.9167C10.4142 14.9167 10.75 15.2525 10.75 15.6667C10.75 16.0507 11.1758 16.5833 12 16.5833C12.8242 16.5833 13.25 16.0507 13.25 15.6667C13.25 15.2826 12.8242 14.75 12 14.75C10.6151 14.75 9.25 13.7903 9.25 12.3333C9.25 11.143 10.1612 10.2845 11.25 10.0102V10C11.25 9.58579 11.5858 9.25 12 9.25Z' fill='%231C274C'/></svg>");
+}
+
+:is(.admonition):is(.admonish-expensive) {
+ border-color: #24ab38;
+}
+
+:is(.admonish-expensive) > :is(.admonition-title, summary.admonition-title) {
+ background-color: rgba(36, 171, 56, 0.1);
+}
+:is(.admonish-expensive) > :is(.admonition-title, summary.admonition-title)::before {
+ background-color: #24ab38;
+ mask-image: var(--md-admonition-icon--admonish-expensive);
+ -webkit-mask-image: var(--md-admonition-icon--admonish-expensive);
+ mask-repeat: no-repeat;
+ -webkit-mask-repeat: no-repeat;
+ mask-size: contain;
+ -webkit-mask-repeat: no-repeat;
+}
diff --git a/mdbook-admonish.css b/mdbook-admonish.css
index a0a566a..45aeff0 100644
--- a/mdbook-admonish.css
+++ b/mdbook-admonish.css
@@ -1,20 +1,4 @@
@charset "UTF-8";
-:root {
- --md-admonition-icon--admonish-note: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83 3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75L3 17.25z'/></svg>");
- --md-admonition-icon--admonish-abstract: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17 9H7V7h10m0 6H7v-2h10m-3 6H7v-2h7M12 3a1 1 0 0 1 1 1 1 1 0 0 1-1 1 1 1 0 0 1-1-1 1 1 0 0 1 1-1m7 0h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2z'/></svg>");
- --md-admonition-icon--admonish-info: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M13 9h-2V7h2m0 10h-2v-6h2m-1-9A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2z'/></svg>");
- --md-admonition-icon--admonish-tip: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17.66 11.2c-.23-.3-.51-.56-.77-.82-.67-.6-1.43-1.03-2.07-1.66C13.33 7.26 13 4.85 13.95 3c-.95.23-1.78.75-2.49 1.32-2.59 2.08-3.61 5.75-2.39 8.9.04.1.08.2.08.33 0 .22-.15.42-.35.5-.23.1-.47.04-.66-.12a.58.58 0 0 1-.14-.17c-1.13-1.43-1.31-3.48-.55-5.12C5.78 10 4.87 12.3 5 14.47c.06.5.12 1 .29 1.5.14.6.41 1.2.71 1.73 1.08 1.73 2.95 2.97 4.96 3.22 2.14.27 4.43-.12 6.07-1.6 1.83-1.66 2.47-4.32 1.53-6.6l-.13-.26c-.21-.46-.77-1.26-.77-1.26m-3.16 6.3c-.28.24-.74.5-1.1.6-1.12.4-2.24-.16-2.9-.82 1.19-.28 1.9-1.16 2.11-2.05.17-.8-.15-1.46-.28-2.23-.12-.74-.1-1.37.17-2.06.19.38.39.76.63 1.06.77 1 1.98 1.44 2.24 2.8.04.14.06.28.06.43.03.82-.33 1.72-.93 2.27z'/></svg>");
- --md-admonition-icon--admonish-success: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m9 20.42-6.21-6.21 2.83-2.83L9 14.77l9.88-9.89 2.83 2.83L9 20.42z'/></svg>");
- --md-admonition-icon--admonish-question: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m15.07 11.25-.9.92C13.45 12.89 13 13.5 13 15h-2v-.5c0-1.11.45-2.11 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41a2 2 0 0 0-2-2 2 2 0 0 0-2 2H8a4 4 0 0 1 4-4 4 4 0 0 1 4 4 3.2 3.2 0 0 1-.93 2.25M13 19h-2v-2h2M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10c0-5.53-4.5-10-10-10z'/></svg>");
- --md-admonition-icon--admonish-warning: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M13 14h-2V9h2m0 9h-2v-2h2M1 21h22L12 2 1 21z'/></svg>");
- --md-admonition-icon--admonish-failure: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6.91 17.09 4 12 9.09 6.91 4 4 6.91 9.09 12 4 17.09 6.91 20 12 14.91 17.09 20 20 17.09 14.91 12 20 6.91z'/></svg>");
- --md-admonition-icon--admonish-danger: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M11 15H6l7-14v8h5l-7 14v-8z'/></svg>");
- --md-admonition-icon--admonish-bug: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M14 12h-4v-2h4m0 6h-4v-2h4m6-6h-2.81a5.985 5.985 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17a6.002 6.002 0 0 0-2.83 0L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8z'/></svg>");
- --md-admonition-icon--admonish-example: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 13v-2h14v2H7m0 6v-2h14v2H7M7 7V5h14v2H7M3 8V5H2V4h2v4H3m-1 9v-1h3v4H2v-1h2v-.5H3v-1h1V17H2m2.25-7a.75.75 0 0 1 .75.75c0 .2-.08.39-.21.52L3.12 13H5v1H2v-.92L4 11H2v-1h2.25z'/></svg>");
- --md-admonition-icon--admonish-quote: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M14 17h3l2-4V7h-6v6h3M6 17h3l2-4V7H5v6h3l-2 4z'/></svg>");
- --md-details-icon: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8.59 16.58 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.42Z'/></svg>");
-}
-
:is(.admonition) {
display: flow-root;
margin: 1.5625em 0;
@@ -123,6 +107,25 @@ details[open].admonition > summary.admonition-title::after {
transform: rotate(90deg);
}
+:root {
+ --md-details-icon: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8.59 16.58 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.42Z'/></svg>");
+}
+
+:root {
+ --md-admonition-icon--admonish-note: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83 3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75L3 17.25z'/></svg>");
+ --md-admonition-icon--admonish-abstract: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17 9H7V7h10m0 6H7v-2h10m-3 6H7v-2h7M12 3a1 1 0 0 1 1 1 1 1 0 0 1-1 1 1 1 0 0 1-1-1 1 1 0 0 1 1-1m7 0h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2z'/></svg>");
+ --md-admonition-icon--admonish-info: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M13 9h-2V7h2m0 10h-2v-6h2m-1-9A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2z'/></svg>");
+ --md-admonition-icon--admonish-tip: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17.66 11.2c-.23-.3-.51-.56-.77-.82-.67-.6-1.43-1.03-2.07-1.66C13.33 7.26 13 4.85 13.95 3c-.95.23-1.78.75-2.49 1.32-2.59 2.08-3.61 5.75-2.39 8.9.04.1.08.2.08.33 0 .22-.15.42-.35.5-.23.1-.47.04-.66-.12a.58.58 0 0 1-.14-.17c-1.13-1.43-1.31-3.48-.55-5.12C5.78 10 4.87 12.3 5 14.47c.06.5.12 1 .29 1.5.14.6.41 1.2.71 1.73 1.08 1.73 2.95 2.97 4.96 3.22 2.14.27 4.43-.12 6.07-1.6 1.83-1.66 2.47-4.32 1.53-6.6l-.13-.26c-.21-.46-.77-1.26-.77-1.26m-3.16 6.3c-.28.24-.74.5-1.1.6-1.12.4-2.24-.16-2.9-.82 1.19-.28 1.9-1.16 2.11-2.05.17-.8-.15-1.46-.28-2.23-.12-.74-.1-1.37.17-2.06.19.38.39.76.63 1.06.77 1 1.98 1.44 2.24 2.8.04.14.06.28.06.43.03.82-.33 1.72-.93 2.27z'/></svg>");
+ --md-admonition-icon--admonish-success: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m9 20.42-6.21-6.21 2.83-2.83L9 14.77l9.88-9.89 2.83 2.83L9 20.42z'/></svg>");
+ --md-admonition-icon--admonish-question: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m15.07 11.25-.9.92C13.45 12.89 13 13.5 13 15h-2v-.5c0-1.11.45-2.11 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41a2 2 0 0 0-2-2 2 2 0 0 0-2 2H8a4 4 0 0 1 4-4 4 4 0 0 1 4 4 3.2 3.2 0 0 1-.93 2.25M13 19h-2v-2h2M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10c0-5.53-4.5-10-10-10z'/></svg>");
+ --md-admonition-icon--admonish-warning: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M13 14h-2V9h2m0 9h-2v-2h2M1 21h22L12 2 1 21z'/></svg>");
+ --md-admonition-icon--admonish-failure: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6.91 17.09 4 12 9.09 6.91 4 4 6.91 9.09 12 4 17.09 6.91 20 12 14.91 17.09 20 20 17.09 14.91 12 20 6.91z'/></svg>");
+ --md-admonition-icon--admonish-danger: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M11 15H6l7-14v8h5l-7 14v-8z'/></svg>");
+ --md-admonition-icon--admonish-bug: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M14 12h-4v-2h4m0 6h-4v-2h4m6-6h-2.81a5.985 5.985 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17a6.002 6.002 0 0 0-2.83 0L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8z'/></svg>");
+ --md-admonition-icon--admonish-example: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 13v-2h14v2H7m0 6v-2h14v2H7M7 7V5h14v2H7M3 8V5H2V4h2v4H3m-1 9v-1h3v4H2v-1h2v-.5H3v-1h1V17H2m2.25-7a.75.75 0 0 1 .75.75c0 .2-.08.39-.21.52L3.12 13H5v1H2v-.92L4 11H2v-1h2.25z'/></svg>");
+ --md-admonition-icon--admonish-quote: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M14 17h3l2-4V7h-6v6h3M6 17h3l2-4V7H5v6h3l-2 4z'/></svg>");
+}
+
:is(.admonition):is(.admonish-note) {
border-color: #448aff;
}
diff --git a/overview.html b/overview.html
index 689b95a..001467d 100644
--- a/overview.html
+++ b/overview.html
@@ -30,6 +30,7 @@
<!-- Custom theme stylesheets -->
<link rel="stylesheet" href="./mdbook-admonish.css">
+ <link rel="stylesheet" href="./mdbook-admonish-custom.css">
</head>
<body class="sidebar-visible no-js">
@@ -188,6 +189,7 @@
<li><a href="#collapsible">Collapsible</a></li>
</ul>
</li>
+<li><a href="#custom-blocks">Custom blocks</a></li>
</ul>
</li>
</ul>
@@ -380,6 +382,42 @@ Content will be hidden initially.
<p>Content will be hidden initially.</p>
</div>
</details>
+<h3 id="custom-blocks"><a class="header" href="#custom-blocks">Custom blocks</a></h3>
+<p>You can add new block types via the <code>book.toml</code> config:</p>
+<pre><code class="language-toml"># book.toml
+
+[[preprocessor.admonish.custom]]
+directive = &quot;expensive&quot;
+icon = &quot;./money-bag.svg&quot;
+color = &quot;#24ab38&quot;
+aliases = [&quot;money&quot;, &quot;cash&quot;, &quot;budget&quot;]
+</code></pre>
+<p>You must then generate the relevant CSS file, and reference it in the <code>output.html</code> section.
+<code>mdbook-admonish</code> has a helper to quickly do this for you:</p>
+<pre><code class="language-bash"># Generates a file at ./mdbook-admonish-custom.css with your styles in
+$ mdbook-admonish generate-custom ./mdbook-admonish-custom.css
+</code></pre>
+<pre><code class="language-toml"># book.toml
+
+[output.html]
+# Reference the new file, so it's bundled in with book styles
+additional-css = [&quot;./mdbook-admonish.css&quot;, &quot;./mdbook-admonish-custom.css&quot;]
+</code></pre>
+<p>You can then reference the new directive (or alias) like usual in your blocks.</p>
+<pre><code>```admonish expensive
+Remember, this operation costs money!
+```
+</code></pre>
+<div id="admonition-expensive" class="admonition admonish-expensive">
+<div class="admonition-title">
+<p>Expensive</p>
+<p><a class="admonition-anchor-link" href="#admonition-expensive"></a></p>
+</div>
+<div>
+<p>Remember, this operation costs money!</p>
+</div>
+</div>
+<p>You can also set a default <code>title</code>. See the <a href="./reference.html">Reference</a> page for more details.</p>
</main>
diff --git a/print.html b/print.html
index 717e13c..ee3ef49 100644
--- a/print.html
+++ b/print.html
@@ -31,6 +31,7 @@
<!-- Custom theme stylesheets -->
<link rel="stylesheet" href="./mdbook-admonish.css">
+ <link rel="stylesheet" href="./mdbook-admonish-custom.css">
</head>
<body class="sidebar-visible no-js">
@@ -189,6 +190,7 @@
<li><a href="overview.html#collapsible">Collapsible</a></li>
</ul>
</li>
+<li><a href="overview.html#custom-blocks">Custom blocks</a></li>
</ul>
</li>
</ul>
@@ -381,6 +383,42 @@ Content will be hidden initially.
<p>Content will be hidden initially.</p>
</div>
</details>
+<h3 id="custom-blocks"><a class="header" href="#custom-blocks">Custom blocks</a></h3>
+<p>You can add new block types via the <code>book.toml</code> config:</p>
+<pre><code class="language-toml"># book.toml
+
+[[preprocessor.admonish.custom]]
+directive = &quot;expensive&quot;
+icon = &quot;./money-bag.svg&quot;
+color = &quot;#24ab38&quot;
+aliases = [&quot;money&quot;, &quot;cash&quot;, &quot;budget&quot;]
+</code></pre>
+<p>You must then generate the relevant CSS file, and reference it in the <code>output.html</code> section.
+<code>mdbook-admonish</code> has a helper to quickly do this for you:</p>
+<pre><code class="language-bash"># Generates a file at ./mdbook-admonish-custom.css with your styles in
+$ mdbook-admonish generate-custom ./mdbook-admonish-custom.css
+</code></pre>
+<pre><code class="language-toml"># book.toml
+
+[output.html]
+# Reference the new file, so it's bundled in with book styles
+additional-css = [&quot;./mdbook-admonish.css&quot;, &quot;./mdbook-admonish-custom.css&quot;]
+</code></pre>
+<p>You can then reference the new directive (or alias) like usual in your blocks.</p>
+<pre><code>```admonish expensive
+Remember, this operation costs money!
+```
+</code></pre>
+<div id="admonition-expensive" class="admonition admonish-expensive">
+<div class="admonition-title">
+<p>Expensive</p>
+<p><a class="admonition-anchor-link" href="overview.html#admonition-expensive"></a></p>
+</div>
+<div>
+<p>Remember, this operation costs money!</p>
+</div>
+</div>
+<p>You can also set a default <code>title</code>. See the <a href="./reference.html">Reference</a> page for more details.</p>
<div style="break-before: page; page-break-before: always;"></div><h1 id="reference"><a class="header" href="#reference">Reference</a></h1>
<ul>
<li><a href="reference.html#booktoml-configuration"><code>book.toml</code> configuration</a>
@@ -388,6 +426,7 @@ Content will be hidden initially.
<li><a href="reference.html#on_failure"><code>on_failure</code></a></li>
<li><a href="reference.html#default"><code>default</code></a></li>
<li><a href="reference.html#renderer"><code>renderer</code></a></li>
+<li><a href="reference.html#custom"><code>custom</code></a></li>
<li><a href="reference.html#command"><code>command</code></a></li>
<li><a href="reference.html#assets_version"><code>assets_version</code></a></li>
</ul>
@@ -464,6 +503,25 @@ render_mode = &quot;strip&quot;
</ul>
</li>
</ul>
+<h3 id="custom"><a class="header" href="#custom"><code>custom</code></a></h3>
+<p>Optional.</p>
+<p>Additional type of block to support.
+You must run <code>mdbook-admonish generate-custom</code> after updating these values, to generate the correct styles.</p>
+<p>Add blocks using TOML's <a href="https://toml.io/en/v1.0.0#array-of-tables">Array of Tables</a> notation:</p>
+<pre><code class="language-toml">[[preprocessor.admonish.custom]]
+directive = &quot;expensive&quot;
+icon = &quot;./money-bag.svg&quot;
+color = &quot;#24ab38&quot;
+aliases = [&quot;money&quot;, &quot;cash&quot;, &quot;budget&quot;]
+</code></pre>
+<p>Subfields:</p>
+<ul>
+<li><code>directive</code>: The keyword to use this type of block.</li>
+<li><code>icon</code>: A filepath relative to the book root to load an SVG icon from.</li>
+<li><code>color</code>: An RGB hex encoded color to use for the icon.</li>
+<li><code>aliases</code> (optional): One or more alternative directives to use this block.</li>
+<li><code>title</code> (optional): The default title for this type of block. If not specified, defaults to the directive in title case. To give each alias a custom title, add multiple custom blocks.</li>
+</ul>
<h3 id="command"><a class="header" href="#command"><code>command</code></a></h3>
<p>Required.</p>
<p>Used by <code>mdbook</code> to know how to call the <code>mdbook-admonish</code> plugin.</p>
@@ -473,6 +531,7 @@ render_mode = &quot;strip&quot;
<p>This is automatically updated by <code>mdbook-admonish install</code> and should not be edited.</p>
<h2 id="directives"><a class="header" href="#directives">Directives</a></h2>
<p>All supported directives are listed below.</p>
+<p>Custom directives can be added via the <code>custom</code> config option above.</p>
<p><code>note</code></p>
<div id="admonition-note" class="admonition admonish-note">
<div class="admonition-title">
diff --git a/reference.html b/reference.html
index dd64620..67a369b 100644
--- a/reference.html
+++ b/reference.html
@@ -30,6 +30,7 @@
<!-- Custom theme stylesheets -->
<link rel="stylesheet" href="./mdbook-admonish.css">
+ <link rel="stylesheet" href="./mdbook-admonish-custom.css">
</head>
<body class="sidebar-visible no-js">
@@ -179,6 +180,7 @@
<li><a href="#on_failure"><code>on_failure</code></a></li>
<li><a href="#default"><code>default</code></a></li>
<li><a href="#renderer"><code>renderer</code></a></li>
+<li><a href="#custom"><code>custom</code></a></li>
<li><a href="#command"><code>command</code></a></li>
<li><a href="#assets_version"><code>assets_version</code></a></li>
</ul>
@@ -255,6 +257,25 @@ render_mode = &quot;strip&quot;
</ul>
</li>
</ul>
+<h3 id="custom"><a class="header" href="#custom"><code>custom</code></a></h3>
+<p>Optional.</p>
+<p>Additional type of block to support.
+You must run <code>mdbook-admonish generate-custom</code> after updating these values, to generate the correct styles.</p>
+<p>Add blocks using TOML's <a href="https://toml.io/en/v1.0.0#array-of-tables">Array of Tables</a> notation:</p>
+<pre><code class="language-toml">[[preprocessor.admonish.custom]]
+directive = &quot;expensive&quot;
+icon = &quot;./money-bag.svg&quot;
+color = &quot;#24ab38&quot;
+aliases = [&quot;money&quot;, &quot;cash&quot;, &quot;budget&quot;]
+</code></pre>
+<p>Subfields:</p>
+<ul>
+<li><code>directive</code>: The keyword to use this type of block.</li>
+<li><code>icon</code>: A filepath relative to the book root to load an SVG icon from.</li>
+<li><code>color</code>: An RGB hex encoded color to use for the icon.</li>
+<li><code>aliases</code> (optional): One or more alternative directives to use this block.</li>
+<li><code>title</code> (optional): The default title for this type of block. If not specified, defaults to the directive in title case. To give each alias a custom title, add multiple custom blocks.</li>
+</ul>
<h3 id="command"><a class="header" href="#command"><code>command</code></a></h3>
<p>Required.</p>
<p>Used by <code>mdbook</code> to know how to call the <code>mdbook-admonish</code> plugin.</p>
@@ -264,6 +285,7 @@ render_mode = &quot;strip&quot;
<p>This is automatically updated by <code>mdbook-admonish install</code> and should not be edited.</p>
<h2 id="directives"><a class="header" href="#directives">Directives</a></h2>
<p>All supported directives are listed below.</p>
+<p>Custom directives can be added via the <code>custom</code> config option above.</p>
<p><code>note</code></p>
<div id="admonition-note" class="admonition admonish-note">
<div class="admonition-title">
diff --git a/searchindex.js b/searchindex.js
index 5d213bb..d25ff6f 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Object.assign(window.search, {"doc_urls":["overview.html#mdbook-admonish","overview.html#intoduction","overview.html#usage","overview.html#a-basic-admonish-block","overview.html#invalid-blocks","overview.html#additional-options","reference.html#reference","reference.html#booktoml-configuration","reference.html#on_failure","reference.html#default","reference.html#renderer","reference.html#command","reference.html#assets_version","reference.html#directives"],"index":{"documentStore":{"docInfo":{"0":{"body":19,"breadcrumbs":3,"title":2},"1":{"body":23,"breadcrumbs":2,"title":1},"10":{"body":90,"breadcrumbs":2,"title":1},"11":{"body":16,"breadcrumbs":2,"title":1},"12":{"body":7,"breadcrumbs":2,"title":1},"13":{"body":199,"breadcrumbs":2,"title":1},"2":{"body":0,"breadcrumbs":2,"title":1},"3":{"body":46,"breadcrumbs":4,"title":3},"4":{"body":58,"breadcrumbs":3,"title":2},"5":{"body":248,"breadcrumbs":3,"title":2},"6":{"body":8,"breadcrumbs":2,"title":1},"7":{"body":21,"breadcrumbs":3,"title":2},"8":{"body":28,"breadcrumbs":2,"title":1},"9":{"body":43,"breadcrumbs":2,"title":1}},"docs":{"0":{"body":"Intoduction Usage A basic admonish block Invalid blocks Additional Options Custom title Nested Markdown/HTML Custom styling Custom CSS ID Collapsible","breadcrumbs":"Overview ยป mdbook-admonish","id":"0","title":"mdbook-admonish"},"1":{"body":"Latest version docs.rs A preprocessor for mdbook to add Material Design admonishments, based on the mkdocs-material implementation. It turns this: ```admonish info\nA beautifully styled message.\n``` into this: Info A beautifully styled message.","breadcrumbs":"Overview ยป Intoduction","id":"1","title":"Intoduction"},"10":{"body":"Tip It is recommended that you set: [preprocessor.admonish.renderer.test]\nrender_mode = \"strip\" This allows mdbook test to find and test rust examples within admonish blocks. This will be the default behaviour in the next mdbook-admonish major version. Optional. Additional settings to apply, depending on the renderer that is running. The most common renderers used are: html: Used by mdbook build to build the final book output. test: Used by mdbook test to find and run doctests. Subfields: renderer.<renderer_name>.render_mode (optional): The action mdbook-admonish should take when running with this renderer. Valid values: html: Convert admonish blocks into HTML output. preserve: Do nothing. Leave the book untouched. strip: Strip admonish-specific syntax, leaving the inner content untouched. Default values: For the html renderer, the default value is html. For all other renderers, the default value is preserve.","breadcrumbs":"Reference ยป renderer","id":"10","title":"renderer"},"11":{"body":"Required. Used by mdbook to know how to call the mdbook-admonish plugin. Running this command with the --version flag from your shell should work, for the plugin to function.","breadcrumbs":"Reference ยป command","id":"11","title":"command"},"12":{"body":"Optional. This is automatically updated by mdbook-admonish install and should not be edited.","breadcrumbs":"Reference ยป assets_version","id":"12","title":"assets_version"},"13":{"body":"All supported directives are listed below. note Note Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency. abstract, summary, tldr Abstract Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency. info, todo Info Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency. tip, hint, important Tip Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency. success, check, done Success Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency. question, help, faq Question Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency. warning, caution, attention Warning Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency. failure, fail, missing Failure Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency. danger, error Danger Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency. bug Bug Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency. example Example Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency. quote, cite Quote Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency.","breadcrumbs":"Reference ยป Directives","id":"13","title":"Directives"},"2":{"body":"","breadcrumbs":"Overview ยป Usage","id":"2","title":"Usage"},"3":{"body":"Use any fenced code-block as you normally would, but annotate it with admonish <admonition type>: ```admonish example\nMy example is the best!\n``` Example My example is the best! See the list of directives for a full list of supported admonitions. You'll find: info warning danger example and quite a few more! You can also leave out the admonition type altogether, in which case it will default to note: ```admonish\nA plain note.\n``` Note A plain note.","breadcrumbs":"Overview ยป A basic admonish block","id":"3","title":"A basic admonish block"},"4":{"body":"By default, if an admonish block cannot be parsed, an error will be rendered in the output: ```admonish title=\"\\j\"\nThis block will error\n``` Error rendering admonishment Failed with: TOML parsing error: TOML parse error at line 1, column 10 |\n1 | title=\"\\j\" | ^\ninvalid escape sequence\nexpected `b`, `f`, `n`, `r`, `t`, `u`, `U`, `\\`, `\"` Original markdown input: ```admonish title=\"\\j\"\nThis block will error\n``` You can also configure the build to fail loudly, by setting on_failure = \"bail\" in book.toml. See the configuration reference for more details.","breadcrumbs":"Overview ยป Invalid blocks","id":"4","title":"Invalid blocks"},"5":{"body":"You can pass additional options to each block. The options are structured as TOML key-value pairs. Note that some options can be passed globally, through the default section in book.toml. See the configuration reference for more details. Custom title A custom title can be provided, contained in a double quoted TOML string. Note that TOML escapes must be escaped again - for instance, write \\\" as \\\\\". ```admonish warning title=\"Data loss\"\nThe following steps can lead to irrecoverable data corruption.\n``` Data loss The following steps can lead to irrecoverable data corruption. You can also remove the title bar entirely, by specifying the empty string: ```admonish success title=\"\"\nThis will take a while, go and grab a drink of water.\n``` This will take a while, go and grab a drink of water. Nested Markdown/HTML Markdown and HTML can be used in the inner content, as you'd expect: ```admonish tip title=\"_Referencing_ and <i>dereferencing</i>\"\nThe opposite of *referencing* by using `&` is *dereferencing*, which is\naccomplished with the <span style=\"color: hotpink\">dereference operator</span>, `*`.\n``` Referencing and dereferencing The opposite of referencing by using & is dereferencing , which is accomplished with the dereference operator, *. If you have code blocks you want to include in the content, use tildes for the outer code fence : ~~~admonish bug\nThis syntax won't work in Python 3:\n```python\nprint \"Hello, world!\"\n```\n~~~ Bug This syntax won't work in Python 3: print \"Hello, world!\" Custom styling If you want to provide custom styling to a specific admonition, you can attach one or more custom classnames: ```admonish note class=\"custom-0 custom-1\"\nStyled with my custom CSS class.\n``` Will yield something like the following HTML, which you can then apply styles to: <div class=\"admonition note custom-0 custom-1\" ...\n</div> Custom CSS ID If you want to customize the CSS id field, set id=\"custom-id\". This will ignore default.css_id_prefix . The default id is a normalized version of the admonishment's title, prefixed with the default.css_id_prefix, with an appended number if multiple blocks would have the same id. Setting the id field will ignore all other ids and the duplicate counter. ```admonish info title=\"My Info\" id=\"my-special-info\"\nLink to this block with `#my-special-info` instead of the default `#admonition-my-info`.\n``` Collapsible For a block to be initially collapsible, and then be openable, set collapsible=true: ```admonish collapsible=true\nContent will be hidden initially.\n``` Will yield something like the following HTML, which you can then apply styles to: Note Content will be hidden initially.","breadcrumbs":"Overview ยป Additional Options","id":"5","title":"Additional Options"},"6":{"body":"book.toml configuration on_failure default renderer command assets_version Directives","breadcrumbs":"Reference ยป Reference","id":"6","title":"Reference"},"7":{"body":"See below for all configuration options available to add in book.toml. The options should all be nested under preprocessor.admonish; for example: [preprocessor.admonish]\non_failure = \"bail\" [preprocessor.admonish.default]\ncollapsible = true [preprocessor.admonish.renderer.test]\nrender_mode = \"strip\"","breadcrumbs":"Reference ยป book.toml configuration","id":"7","title":"book.toml configuration"},"8":{"body":"Optional. Default value: continue. The action to take when an invalid admonish block is encountered: continue (default): Continue processing future blocks, do not fail the build. If rendering to HTML, an error message will be displayed in the book output. bail: Abort the build.","breadcrumbs":"Reference ยป on_failure","id":"8","title":"on_failure"},"9":{"body":"Optional. Default values to use, when not provided in an admonish block explicitly. Subfields: default.title (optional): Title to use for blocks. Defaults to the directive used in titlecase. default.collapsible (optional, default: false): Make blocks collapsible by default when set to true. default.css_id_prefix (optional, default: \"admonition-\"): The default css id prefix to add to the id of all blocks. Ignored on blocks with an id field.","breadcrumbs":"Reference ยป default","id":"9","title":"default"}},"length":14,"save":true},"fields":["title","body","breadcrumbs"],"index":{"body":{"root":{"0":{"df":1,"docs":{"5":{"tf":1.4142135623730951}}},"1":{"0":{"df":1,"docs":{"4":{"tf":1.0}}},"df":2,"docs":{"4":{"tf":1.4142135623730951},"5":{"tf":1.4142135623730951}}},"3":{"df":1,"docs":{"5":{"tf":1.4142135623730951}}},"a":{"b":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"t":{"df":1,"docs":{"8":{"tf":1.0}}}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"a":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"13":{"tf":1.4142135623730951}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"c":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"h":{"df":1,"docs":{"5":{"tf":1.4142135623730951}}}}}}}}}},"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":2,"docs":{"10":{"tf":1.0},"8":{"tf":1.0}}}}}}},"d":{"d":{"df":3,"docs":{"1":{"tf":1.0},"7":{"tf":1.0},"9":{"tf":1.0}},"i":{"df":0,"docs":{},"t":{"df":3,"docs":{"0":{"tf":1.0},"10":{"tf":1.0},"5":{"tf":1.4142135623730951}}}}},"df":0,"docs":{},"m":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"h":{"df":10,"docs":{"0":{"tf":1.4142135623730951},"1":{"tf":1.4142135623730951},"10":{"tf":2.23606797749979},"11":{"tf":1.0},"12":{"tf":1.0},"3":{"tf":2.0},"4":{"tf":2.0},"5":{"tf":2.6457513110645907},"8":{"tf":1.0},"9":{"tf":1.0}},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"'":{"df":1,"docs":{"5":{"tf":1.0}}},"df":0,"docs":{}}}}}}},"t":{"df":3,"docs":{"3":{"tf":1.7320508075688772},"5":{"tf":1.4142135623730951},"9":{"tf":1.0}}}}}}}},"df":0,"docs":{},"g":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"5":{"tf":1.0}}}}},"df":0,"docs":{}},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":1,"docs":{"10":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":1,"docs":{"3":{"tf":1.0}}}}}}}}},"n":{"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"df":0,"docs":{},"t":{"df":1,"docs":{"3":{"tf":1.0}}}}}},"p":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"5":{"tf":1.0}}},"df":0,"docs":{}}},"l":{"df":0,"docs":{},"i":{"df":2,"docs":{"10":{"tf":1.0},"5":{"tf":1.4142135623730951}}}}}},"s":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"s":{"_":{"df":0,"docs":{},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"df":2,"docs":{"12":{"tf":1.0},"6":{"tf":1.0}}}}}}},"df":0,"docs":{}}}}}},"t":{"df":0,"docs":{},"t":{"a":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"5":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"13":{"tf":1.0}}}}}}},"u":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"12":{"tf":1.0}}}},"df":0,"docs":{}}}}},"v":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"7":{"tf":1.0}}}}},"df":0,"docs":{}}},"b":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":3,"docs":{"4":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":1.0}}}},"r":{"df":1,"docs":{"5":{"tf":1.0}}},"s":{"df":0,"docs":{},"e":{"df":1,"docs":{"1":{"tf":1.0}}},"i":{"c":{"df":2,"docs":{"0":{"tf":1.0},"3":{"tf":1.0}}},"df":0,"docs":{}}}},"df":1,"docs":{"4":{"tf":1.0}},"e":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"f":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"1":{"tf":1.4142135623730951}}}}}}}}}}},"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"10":{"tf":1.0}}}}}}}},"df":0,"docs":{}},"l":{"df":0,"docs":{},