-
Notifications
You must be signed in to change notification settings - Fork 4
/
example.qmd
33 lines (26 loc) · 1.04 KB
/
example.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
title: Academicons Quarto Extension
format: html
---
This extension allows you to use [academicons](https://jpswalsh.github.io/academicons/) in your Quarto HTML documents. It provides an `{{{< ai >}}}` shortcode:
- Mandatory `<icon-name>`:
``` markdown
{{{< ai <icon-name> >}}}
```
- Optional `<size=...>`:
``` markdown
{{{< ai <icon-name> <size=...> >}}}
```
- Optional `<color=...>`:
``` markdown
{{{< ai <icon-name> <color=...> >}}}
```
For example:
| Shortcode | Icon |
|------------------------------------|--------------------------------|
| `{{{< ai arxiv >}}}` | {{< ai arxiv >}} |
| `{{{< ai google-scholar >}}}` | {{< ai google-scholar >}} |
| `{{{< ai open-access >}}}` | {{< ai open-access >}} |
| `{{{< ai open-access size=5x >}}}` | {{< ai open-access size=5x >}} |
| `{{{< ai open-access size=3em >}}}` | {{< ai open-access size=3em >}} |
| `{{{< ai open-access color=red >}}}` | {{< ai open-access color=red >}} |