-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5d34c96
commit dbb06eb
Showing
32 changed files
with
3,731 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
source("renv/activate.R") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: main | ||
|
||
name: Quarto Publish | ||
env: | ||
RENV_PATHS_ROOT: ~/.cache/R/renv | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Quarto | ||
uses: quarto-dev/quarto-actions/setup@v2 | ||
|
||
- name: Cache packages | ||
uses: actions/cache@v1 | ||
with: | ||
path: ${{ env.RENV_PATHS_ROOT }} | ||
key: ${{ runner.os }}-renv-${{ hashFiles('**/renv.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-renv- | ||
- name: Restore packages | ||
shell: Rscript {0} | ||
run: | | ||
if (!requireNamespace("renv", quietly = TRUE)) install.packages("renv") | ||
renv::restore() | ||
- name: Render and Publish | ||
uses: quarto-dev/quarto-actions/publish@v2 | ||
with: | ||
target: gh-pages | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,8 @@ | |
/.luarc.json | ||
/template.typ | ||
README.html | ||
README_files/* | ||
.Rproj.user | ||
docs/ | ||
*_files/ | ||
|
||
/.quarto/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
_quarto.yml | ||
docs/ | ||
*.Rproj | ||
static/fonts/ | ||
static/img/template-full.png | ||
static/img/thumbnail.png | ||
static/img/thumbnail.svg | ||
snapshot.R | ||
renv.lock | ||
renv/ | ||
.Rprofile | ||
README.qmd | ||
README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,30 @@ | ||
# Quarto-Clean-Typst Format | ||
|
||
A minimalistic presentation theme for Quarto + Typst + [Touying](https://touying-typ.github.io). | ||
Theme design is deeply inspired by Grant McDermott's [Clean theme](https://github.com/grantmcdermott/quarto-revealjs-clean) for Quarto + Reveal.js. | ||
|
||
# Quarto-Clean-Typst Format | ||
|
||
Click the image below to see a long [demo](https://kazuyanagimoto.com/quarto-slides-typst/slides/quarto-clean-typst/clean.pdf). | ||
Code is available [here](https://github.com/kazuyanagimoto/quarto-slides-typst/blob/main/slides/quarto-clean-typst/clean.qmd). | ||
A minimalistic presentation theme for Quarto + Typst + | ||
[Touying](https://touying-typ.github.io). Theme design is deeply | ||
inspired by Grant McDermott’s [Clean | ||
theme](https://github.com/grantmcdermott/quarto-revealjs-clean) for | ||
Quarto + Reveal.js. | ||
|
||
[![Demo](thumbnail.png)](https://kazuyanagimoto.com/quarto-slides-typst/slides/quarto-clean-typst/clean.pdf) | ||
Click the image below to see a long | ||
[demo](https://kazuyanagimoto.com/quarto-clean-typst/template-full.pdf). | ||
Code is available | ||
[here](https://github.com/kazuyanagimoto/quarto-clean-typst/blob/main/template-full.qmd). | ||
|
||
## Install | ||
[![Demo](static/img/thumbnail.png)](https://kazuyanagimoto.com/quarto-slides-typst/slides/quarto-clean-typst/clean.pdf) | ||
|
||
## Install | ||
|
||
If you would like to add the clean theme to an existing directory: | ||
|
||
```bash | ||
``` bash | ||
quarto install extension kazuyanagimoto/quarto-clean-typst | ||
``` | ||
|
||
or you can use a Quarto template that bundles a .qmd starter file: | ||
|
||
|
||
```bash | ||
``` bash | ||
quarto use template kazuyanagimoto/quarto-clean-typst | ||
``` | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
format: gfm | ||
--- | ||
|
||
# Quarto-Clean-Typst Format | ||
|
||
A minimalistic presentation theme for Quarto + Typst + [Touying](https://touying-typ.github.io). | ||
Theme design is deeply inspired by Grant McDermott's [Clean theme](https://github.com/grantmcdermott/quarto-revealjs-clean) for Quarto + Reveal.js. | ||
|
||
|
||
Click the image below to see a long [demo](https://kazuyanagimoto.com/quarto-clean-typst/template-full.pdf). | ||
Code is available [here](https://github.com/kazuyanagimoto/quarto-clean-typst/blob/main/template-full.qmd). | ||
|
||
```{r} | ||
#| include: false | ||
system2("pdf2svg", args = c("docs/template-full.pdf", "static/img/thumbnail.svg")) | ||
system2("pdftocairo", args = c("-png", "-f", "1", "-l", "1", "docs/template-full.pdf", "static/img/thumbnail")) | ||
system2("mv", args = c("static/img/thumbnail-01.png", "static/img/thumbnail.png")) | ||
``` | ||
|
||
[![Demo](static/img/thumbnail.png)](https://kazuyanagimoto.com/quarto-slides-typst/slides/quarto-clean-typst/clean.pdf) | ||
|
||
## Install | ||
|
||
|
||
If you would like to add the clean theme to an existing directory: | ||
|
||
```bash | ||
quarto install extension kazuyanagimoto/quarto-clean-typst | ||
``` | ||
|
||
or you can use a Quarto template that bundles a .qmd starter file: | ||
|
||
|
||
```bash | ||
quarto use template kazuyanagimoto/quarto-clean-typst | ||
``` | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
project: | ||
type: website | ||
output-dir: docs | ||
render: | ||
- "*.qmd" | ||
- "!static/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#let _small-cite(self: none, it) = text( | ||
size: 0.7em, | ||
fill: self.colors.neutral-darkest.lighten(30%), | ||
it | ||
) | ||
|
||
#let small-cite(it) = touying-fn-wrapper(_small-cite.with(it)) |
Oops, something went wrong.