Created
September 8, 2024 16:39
-
-
Save sebastiansauer/d63eb95288f71ec4e357c2a0997858b0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
--- | |
title: content conditional visual (html, pdf, epub) | |
csl: "/Users/sebastiansaueruser/Google Drive/Literatur/refmgt/apa7.csl" | |
bibliography: /Users/sebastiansaueruser/github-repos/bib/bib.bib | |
format: | |
epub: | |
lang: de | |
# html: | |
# toc: true | |
# lang: de | |
# pdf: | |
# toc: true | |
--- | |
::: {.content-visible when-format="html"} | |
1. should not appear in pdf | |
::: | |
::: {.content-visible unless-format="epub"} | |
2. should not appear in epub | |
::: {.content-visible when-format="epub"} | |
3. should only appear in epub but not in html, and not in PDF | |
NOT WORKING | |
::: | |
::: {.content-visible when-format="html" unless-format="epub"} | |
4. should only appear in html | |
::: | |
::: {.content-visible unless-format="html"} | |
5. should not appear in html and not in epub | |
::: | |
::: {.content-visible when-format="epub" unless-format="html"} | |
6. should only appear in epub | |
NOT WORKING | |
::: | |
::: {.content-visible when-format="epub"} | |
7. should only appear in epub and html | |
::: | |
::: {.content-visible when-format="epub" unless-format="html"} | |
8. should only appear in epub | |
::: | |
:::: {.content-visible when-format="epub"} | |
::: {.content-visible unless-format="html"} | |
9. should only appear in epub | |
::: | |
:::: | |
:::: {.content-visible when-format="pdf"} | |
10. Should only appear in pdf | |
::: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment