Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanouil committed May 1, 2024
1 parent 07dcb93 commit 525cfe6
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7bc3d7e4
0d054fa3
19 changes: 14 additions & 5 deletions example.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}
@media print {
pre > code.sourceCode { white-space: pre-wrap; }
pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; }
}
pre.numberSource code
{ counter-reset: source-line 0; }
Expand Down Expand Up @@ -67,7 +67,7 @@
<script src="example_files/libs/bootstrap/bootstrap.min.js"></script>
<link href="example_files/libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="example_files/libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light">
<script src="example_files/libs/quarto-contrib/iconify-2.0.0/iconify-icon.min.js"></script>
<script src="example_files/libs/quarto-contrib/iconify-2.1.0/iconify-icon.min.js"></script>


</head>
Expand Down Expand Up @@ -99,10 +99,11 @@ <h1 class="title">Iconify Quarto Extension</h1>

<p>This extension allows you to use <a href="https://icon-sets.iconify.design/">Iconify</a> icons in your Quarto HTML documents. It provides an <code>{{&lt; iconify &gt;}}</code> shortcode:</p>
<ul>
<li><p>Mandatory <code>&lt;icon-name&gt;</code>:</p>
<div class="sourceCode" id="cb1"><pre class="sourceCode markdown code-with-copy"><code class="sourceCode markdown"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>{{&lt; iconify &lt;icon-name&gt; &gt;}}</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div></li>
<li><p>Mandatory <code>&lt;icon&gt;</code>:</p>
<div class="sourceCode" id="cb1"><pre class="sourceCode markdown code-with-copy"><code class="sourceCode markdown"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>{{&lt; iconify &lt;icon&gt; &gt;}}</span>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a>{{&lt; iconify &lt;set:icon&gt; &gt;}}</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div></li>
<li><p>Optional <code>&lt;set&gt;</code> (default is <code>fluent-emoji</code>) <code>&lt;size=...&gt;</code>, <code>&lt;width=...&gt;</code>, <code>&lt;height=...&gt;</code>, <code>&lt;flip=...&gt;</code>, and <code>&lt;rotate=...&gt;</code>:</p>
<div class="sourceCode" id="cb2"><pre class="sourceCode markdown code-with-copy"><code class="sourceCode markdown"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a>{{&lt; iconify &lt;set&gt; &lt;icon-name&gt; &lt;size=...&gt; &lt;width=...&gt; &lt;height=...&gt; &lt;flip=...&gt; &lt;rotate=...&gt; &gt;}}</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="sourceCode" id="cb2"><pre class="sourceCode markdown code-with-copy"><code class="sourceCode markdown"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a>{{&lt; iconify &lt;set&gt; &lt;icon&gt; &lt;size=...&gt; &lt;width=...&gt; &lt;height=...&gt; &lt;flip=...&gt; &lt;rotate=...&gt; &gt;}}</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<p>If <code>&lt;size=...&gt;</code> is defined, <code>&lt;width=...&gt;</code> and <code>&lt;height=...&gt;</code> are not used.<br>
See <a href="https://docs.iconify.design/iconify-icon/" class="uri">https://docs.iconify.design/iconify-icon/</a> for more details.</p></li>
</ul>
Expand All @@ -124,6 +125,14 @@ <h1 class="title">Iconify Quarto Extension</h1>
<td><p><iconify-icon inline="" icon="fluent-emoji:exploding-head" aria-label="Icon exploding-head from fluent-emoji Iconify.design set." title="Icon exploding-head from fluent-emoji Iconify.design set."></iconify-icon></p></td>
</tr>
<tr class="even">
<td><code>{{&lt; iconify fluent-emoji exploding-head &gt;}}</code></td>
<td><p><iconify-icon inline="" icon="fluent-emoji:exploding-head" aria-label="Icon exploding-head from fluent-emoji Iconify.design set." title="Icon exploding-head from fluent-emoji Iconify.design set."></iconify-icon></p></td>
</tr>
<tr class="odd">
<td><code>{{&lt; iconify fluent-emoji:exploding-head &gt;}}</code></td>
<td><p><iconify-icon inline="" icon="fluent-emoji:exploding-head" aria-label="Icon exploding-head from fluent-emoji Iconify.design set." title="Icon exploding-head from fluent-emoji Iconify.design set."></iconify-icon></p></td>
</tr>
<tr class="even">
<td><code>{{&lt; iconify exploding-head size=2xl &gt;}}</code></td>
<td><p><iconify-icon inline="" icon="fluent-emoji:exploding-head" style="font-size: 2em;" aria-label="Icon exploding-head from fluent-emoji Iconify.design set." title="Icon exploding-head from fluent-emoji Iconify.design set."></iconify-icon></p></td>
</tr>
Expand Down
Loading

0 comments on commit 525cfe6

Please sign in to comment.