Skip to content

Commit

Permalink
refactor: use SVG with markdown syntax (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanouil authored Jul 25, 2024
1 parent ede9947 commit 28d2940
Show file tree
Hide file tree
Showing 27 changed files with 477 additions and 442 deletions.
2 changes: 1 addition & 1 deletion _extensions/mcanouil/iconify/_extension.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
title: Iconify support
author: Mickaël Canouil
version: 2.1.0
version: 2.1.1
quarto-required: ">=1.2.280"
contributes:
shortcodes:
Expand Down
2 changes: 1 addition & 1 deletion _extensions/mcanouil/iconify/iconify.lua
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ return {

return pandoc.RawInline(
'html',
'<iconify-icon inline' .. attributes .. '></iconify-icon>'
'<iconify-icon inline=true role="img"' .. attributes .. '></iconify-icon>'
)
else
return pandoc.Null()
Expand Down
12 changes: 6 additions & 6 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ website:
left: |
Powered by [{{< iconify simple-icons:quarto >}} Quarto](https://quarto.org).
center: |
&copy; 2024 Mickaël CANOUIL. [{{< iconify fa6-regular heart >}} Sponsor](https://github.com/sponsors/mcanouil?o=esb).
&copy; 2024 Mickaël CANOUIL. [{{< iconify octicon:heart-fill-16 >}} Sponsor](https://github.com/sponsors/mcanouil?o=esb).
right: |
License: [CC BY NC SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0).
navbar:
Expand All @@ -39,16 +39,16 @@ website:
href: talks.qmd
- text: Publications
href: publications.qmd
- text: "{{< iconify fa6-brands mastodon >}}"
- text: "{{< iconify fa6-brands:mastodon >}}"
href: "https://fosstodon.org/@MickaelCanouil"
rel: me
- text: "{{< iconify fa6-brands twitter >}}"
- text: "{{< iconify fa6-brands:twitter >}}"
href: "https://twitter.com/MickaelCanouil"
- text: "{{< iconify fa6-brands linkedin >}}"
- text: "{{< iconify fa6-brands:linkedin >}}"
href: 'https://www.linkedin.com/in/mickaelcanouil'
- text: "{{< iconify fa6-brands github >}}"
- text: "{{< iconify octicon:mark-github-16 >}}"
href: "https://github.com/mcanouil"
- text: "{{< iconify fa6-regular heart >}}"
- text: "{{< iconify octicon:heart-fill-16 >}}"
href: "https://github.com/sponsors/mcanouil?o=esb"

format:
Expand Down
28 changes: 14 additions & 14 deletions _site/blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.6.1">
<meta name="generator" content="quarto-1.6.4">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -184,23 +184,23 @@
</li>
<li class="nav-item">
<a class="nav-link" href="https://fosstodon.org/@MickaelCanouil" rel="me">
<span class="menu-text"><iconify-icon inline="" icon="fa6-brands:mastodon" aria-label="Icon mastodon from fa6-brands Iconify.design set." title="Icon mastodon from fa6-brands Iconify.design set."></iconify-icon></span></a>
<span class="menu-text"><iconify-icon inline="true" role="img" icon="fa6-brands:mastodon" aria-label="Icon mastodon from fa6-brands Iconify.design set." title="Icon mastodon from fa6-brands Iconify.design set."></iconify-icon></span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://twitter.com/MickaelCanouil">
<span class="menu-text"><iconify-icon inline="" icon="fa6-brands:twitter" aria-label="Icon twitter from fa6-brands Iconify.design set." title="Icon twitter from fa6-brands Iconify.design set."></iconify-icon></span></a>
<span class="menu-text"><iconify-icon inline="true" role="img" icon="fa6-brands:twitter" aria-label="Icon twitter from fa6-brands Iconify.design set." title="Icon twitter from fa6-brands Iconify.design set."></iconify-icon></span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://www.linkedin.com/in/mickaelcanouil">
<span class="menu-text"><iconify-icon inline="" icon="fa6-brands:linkedin" aria-label="Icon linkedin from fa6-brands Iconify.design set." title="Icon linkedin from fa6-brands Iconify.design set."></iconify-icon></span></a>
<span class="menu-text"><iconify-icon inline="true" role="img" icon="fa6-brands:linkedin" aria-label="Icon linkedin from fa6-brands Iconify.design set." title="Icon linkedin from fa6-brands Iconify.design set."></iconify-icon></span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/mcanouil">
<span class="menu-text"><iconify-icon inline="" icon="fa6-brands:github" aria-label="Icon github from fa6-brands Iconify.design set." title="Icon github from fa6-brands Iconify.design set."></iconify-icon></span></a>
<span class="menu-text"><iconify-icon inline="true" role="img" icon="octicon:mark-github-16" aria-label="Icon mark-github-16 from octicon Iconify.design set." title="Icon mark-github-16 from octicon Iconify.design set."></iconify-icon></span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/sponsors/mcanouil?o=esb">
<span class="menu-text"><iconify-icon inline="" icon="fa6-regular:heart" aria-label="Icon heart from fa6-regular Iconify.design set." title="Icon heart from fa6-regular Iconify.design set."></iconify-icon></span></a>
<span class="menu-text"><iconify-icon inline="true" role="img" icon="octicon:heart-fill-16" aria-label="Icon heart-fill-16 from octicon Iconify.design set." title="Icon heart-fill-16 from octicon Iconify.design set."></iconify-icon></span></a>
</li>
</ul>
</div> <!-- /navcollapse -->
Expand Down Expand Up @@ -245,7 +245,7 @@ <h5 class="quarto-listing-category-title">Categories</h5><div class="quarto-list

<div class="quarto-listing quarto-listing-container-default" id="listing-listing">
<div class="list quarto-listing-default">
<div class="quarto-post image-right" data-index="0" data-categories="Quarto,Q&amp;A,JavaScript,theme,dark mode,light mode" data-listing-date-sort="1685404800000" data-listing-file-modified-sort="1720961805884" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="2" data-listing-word-count-sort="392">
<div class="quarto-post image-right" data-index="0" data-categories="Quarto,Q&amp;A,JavaScript,theme,dark mode,light mode" data-listing-date-sort="1685404800000" data-listing-file-modified-sort="1721943806072" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="2" data-listing-word-count-sort="392">
<div class="thumbnail">
<p><a href="./posts/2023-05-30-quarto-light-dark/index.html" class="no-external"></a></p><a href="./posts/2023-05-30-quarto-light-dark/index.html" class="no-external">
<p><img loading="lazy" src="./posts/2023-05-30-quarto-light-dark/featured.gif" class="thumbnail-image" alt="Animated GIF showing a ggplot2 figure switching from light to dark on theme toggle switch.
Expand Down Expand Up @@ -294,7 +294,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="1" data-categories="Quarto,Q&amp;A,Docker" data-listing-date-sort="1683417600000" data-listing-file-modified-sort="1720961805872" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="10" data-listing-word-count-sort="1860">
<div class="quarto-post image-right" data-index="1" data-categories="Quarto,Q&amp;A,Docker" data-listing-date-sort="1683417600000" data-listing-file-modified-sort="1721943806060" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="10" data-listing-word-count-sort="1853">
<div class="thumbnail">
<p><a href="./posts/2023-05-07-quarto-docker/index.html" class="no-external"></a></p><a href="./posts/2023-05-07-quarto-docker/index.html" class="no-external">
<p><img loading="lazy" src="./posts/2023-05-07-quarto-docker/featured.png" class="thumbnail-image" alt="Docker logo with a whale and containers on top of it, and Quarto logo with text inside the whale.
Expand Down Expand Up @@ -334,7 +334,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="2" data-categories="Quarto,Q&amp;A,MathJax,LaTeX" data-listing-date-sort="1678579200000" data-listing-file-modified-sort="1720961805872" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="2" data-listing-word-count-sort="212">
<div class="quarto-post image-right" data-index="2" data-categories="Quarto,Q&amp;A,MathJax,LaTeX" data-listing-date-sort="1678579200000" data-listing-file-modified-sort="1721943806060" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="2" data-listing-word-count-sort="212">
<div class="thumbnail">
<p><a href="./posts/2023-03-12-quarto-mathjax-packages/index.html" class="no-external"></a></p><a href="./posts/2023-03-12-quarto-mathjax-packages/index.html" class="no-external">
<p><img loading="lazy" src="./posts/2023-03-12-quarto-mathjax-packages/featured.png" class="thumbnail-image" alt="Quarto logo and text in the center of the image. Below, MathJax logo and text.
Expand Down Expand Up @@ -377,7 +377,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="3" data-categories="Quarto,Q&amp;A,R,knitr" data-listing-date-sort="1677974400000" data-listing-file-modified-sort="1720961805872" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="2" data-listing-word-count-sort="310">
<div class="quarto-post image-right" data-index="3" data-categories="Quarto,Q&amp;A,R,knitr" data-listing-date-sort="1677974400000" data-listing-file-modified-sort="1721943806060" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="2" data-listing-word-count-sort="310">
<div class="thumbnail">
<p><a href="./posts/2023-03-05-quarto-auto-table-crossref/index.html" class="no-external"></a></p><a href="./posts/2023-03-05-quarto-auto-table-crossref/index.html" class="no-external">
<p><img loading="lazy" src="./posts/2023-03-05-quarto-auto-table-crossref/featured.png" class="thumbnail-image" alt="Screenshot of an html rendered by Quarto. it starts with a sentence saying below are several tables by species of penguins, followed by an item list showing the species and their respective cross-reference to the tables.
Expand Down Expand Up @@ -421,7 +421,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="4" data-categories="R,blogdown,rmarkdown,HUGO,Website" data-listing-date-sort="1620259200000" data-listing-file-modified-sort="1720961805868" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="16" data-listing-word-count-sort="3098">
<div class="quarto-post image-right" data-index="4" data-categories="R,blogdown,rmarkdown,HUGO,Website" data-listing-date-sort="1620259200000" data-listing-file-modified-sort="1721943806056" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="16" data-listing-word-count-sort="3098">
<div class="thumbnail">
<p><a href="./posts/2021-05-06-floating-toc-in-blogdown/index.html" class="no-external"></a></p><a href="./posts/2021-05-06-floating-toc-in-blogdown/index.html" class="no-external">
<p><img loading="lazy" src="./posts/2021-05-06-floating-toc-in-blogdown/featured.png" class="thumbnail-image" alt="Screenshot of the `blogdown` blog post &amp;#039;Add a Floating Table of Contents in `blogdown`' showing a table of content on the right.
Expand Down Expand Up @@ -467,7 +467,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="5" data-categories="R,Visualisation,ggplot2,gganimate,Fun" data-listing-date-sort="1588723200000" data-listing-file-modified-sort="1720961805848" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="29" data-listing-word-count-sort="5627">
<div class="quarto-post image-right" data-index="5" data-categories="R,Visualisation,ggplot2,gganimate,Fun" data-listing-date-sort="1588723200000" data-listing-file-modified-sort="1721943806036" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="29" data-listing-word-count-sort="5627">
<div class="thumbnail">
<p><a href="./posts/2020-05-06-ggpacman/index.html" class="no-external"></a></p><a href="./posts/2020-05-06-ggpacman/index.html" class="no-external">
<p><img loading="lazy" src="./posts/2020-05-06-ggpacman/featured.png" class="thumbnail-image" alt="`ggpacman` hexagonal logo representing a red ghost from the game Pac-Man on a black background with a blue border and `ggpacman` written in yellow below the ghost.
Expand Down Expand Up @@ -998,10 +998,10 @@ <h3 class="no-anchor listing-title">
<footer class="footer">
<div class="nav-footer">
<div class="nav-footer-left">
<p>Powered by <a href="https://quarto.org"><iconify-icon inline="" icon="simple-icons:quarto" aria-label="Icon quarto from simple-icons Iconify.design set." title="Icon quarto from simple-icons Iconify.design set."></iconify-icon> Quarto</a>.</p>
<p>Powered by <a href="https://quarto.org"><iconify-icon inline="true" role="img" icon="simple-icons:quarto" aria-label="Icon quarto from simple-icons Iconify.design set." title="Icon quarto from simple-icons Iconify.design set."></iconify-icon> Quarto</a>.</p>
</div>
<div class="nav-footer-center">
<p>© 2024 Mickaël CANOUIL. <a href="https://github.com/sponsors/mcanouil?o=esb"><iconify-icon inline="" icon="fa6-regular:heart" aria-label="Icon heart from fa6-regular Iconify.design set." title="Icon heart from fa6-regular Iconify.design set."></iconify-icon> Sponsor</a>.</p>
<p>© 2024 Mickaël CANOUIL. <a href="https://github.com/sponsors/mcanouil?o=esb"><iconify-icon inline="true" role="img" icon="octicon:heart-fill-16" aria-label="Icon heart-fill-16 from octicon Iconify.design set." title="Icon heart-fill-16 from octicon Iconify.design set."></iconify-icon> Sponsor</a>.</p>
<div class="toc-actions"><ul><li><a href="https://github.com/mcanouil/mickael.canouil.fr/edit/main/blog.qmd" class="toc-action"><i class="bi bi-github"></i>Edit this page</a></li><li><a href="https://github.com/mcanouil/mickael.canouil.fr/issues/new" class="toc-action"><i class="bi empty"></i>Report an issue</a></li></ul></div></div>
<div class="nav-footer-right">
<p>License: <a href="https://creativecommons.org/licenses/by-nc-sa/4.0">CC BY NC SA 4.0</a>.</p>
Expand Down
Loading

0 comments on commit 28d2940

Please sign in to comment.