# Generated by helper-tests.R, do not edit by hand
test_that("examples/quarto-cli/dev-docs/feature-format-matrix/_tabulator.qmd", {
# Line 51
testthat::expect_true(
length(parse_shortcodes_cpp("This forces font-awesome to load: {{< fa link >}}")) >= 1
)
})
test_that("examples/quarto-cli/dev-docs/feature-format-matrix/index.qmd", {
# Line 18
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _tabulator.qmd >}}")) >= 1
)
})
test_that("examples/quarto-cli/dev-docs/feature-format-matrix/qmd-files/callout/appearance-minimal.qmd", {
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
})
test_that("examples/quarto-cli/dev-docs/feature-format-matrix/qmd-files/callout/appearance-simple.qmd", {
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
})
test_that("examples/quarto-cli/dev-docs/feature-format-matrix/qmd-files/callout/no-icon.qmd", {
# Line 13
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
})
test_that("examples/quarto-cli/dev-docs/feature-format-matrix/qmd-files/callout/no-title.qmd", {
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
})
test_that("examples/quarto-cli/dev-docs/feature-format-matrix/qmd-files/callout/no-type.qmd", {
# Line 20
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
})
test_that("examples/quarto-cli/dev-docs/feature-format-matrix/qmd-files/crossref/float/figure/document.qmd", {
# Line 14
testthat::expect_true(
length(parse_shortcodes_cpp("{#fig-1}")) >= 1
)
})
test_that("examples/quarto-cli/dev-docs/feature-format-matrix/qmd-files/image/alt-text/document.qmd", {
# Line 26
testthat::expect_true(
length(parse_shortcodes_cpp("{#case1 fig-alt=\"Alt\"}")) >= 1
)
# Line 30
testthat::expect_true(
length(parse_shortcodes_cpp("{#case2 fig-alt=\"Alt\"}")) >= 1
)
# Line 34
testthat::expect_true(
length(parse_shortcodes_cpp("{#fig-case3 fig-alt=\"Alt\"}")) >= 1
)
# Line 36
testthat::expect_true(
length(parse_shortcodes_cpp("{#fig-case4 fig-alt=\"Alt\"}")) >= 1
)
# Line 40
testthat::expect_true(
length(parse_shortcodes_cpp("{#tbl-case5 fig-alt=\"Alt\"}")) >= 1
)
# Line 42
testthat::expect_true(
length(parse_shortcodes_cpp("{#tbl-case6 fig-alt=\"Alt\"}")) >= 1
)
})
test_that("examples/quarto-cli/dev-docs/feature-format-matrix/qmd-files/shortcodes/placeholder/document.qmd", {
# Line 56
testthat::expect_true(
length(parse_shortcodes_cpp("{{< placeholder format=svg >}}")) >= 1
)
# Line 60
testthat::expect_true(
length(parse_shortcodes_cpp("{{< placeholder 200 format=svg >}}")) >= 1
)
# Line 64
testthat::expect_true(
length(parse_shortcodes_cpp("{{< placeholder 400 200 format=svg >}}")) >= 1
)
# Line 70
testthat::expect_true(
length(parse_shortcodes_cpp("{{< placeholder >}}")) >= 1
)
# Line 74
testthat::expect_true(
length(parse_shortcodes_cpp("{{< placeholder 200 >}}")) >= 1
)
# Line 78
testthat::expect_true(
length(parse_shortcodes_cpp("{{< placeholder 400 200 >}}")) >= 1
)
})
test_that("examples/quarto-cli/dev-docs/internals-guide/quarto-markdown/ast.qmd", {
# Line 13
testthat::expect_true(
length(parse_shortcodes_cpp("- a shortcode, written as `{{< contents cell-id >}}`")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/books/simple/chapter2/chapter2.qmd", {
# Line 4
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed ../notebooks/computations.ipynb >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/books/simple/intro.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed notebooks/computations.ipynb#fig-visualization >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/brand-yaml/kitchen-sink/brand-typography.qmd", {
# Line 37
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 3 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/crossrefs/v1.4/custom-categories/diagrams.qmd", {
# Line 59
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/watch?v=wo9vZccmqwc >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/directives/include/test1/index.qmd", {
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include sub/include-1.md >}}")) >= 1
)
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include sub/include-1.md fixup=true >}}")) >= 1
)
# Line 16
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include sub/include-1.md fixup=false >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/directives/pagebreak/minimal.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< pagebreak >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/directives/pagebreak/one-break.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< pagebreak >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/embed/embed-ipynb.qmd", {
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed penguins.ipynb#fig-bill-scatter >}}")) >= 1
)
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed penguins.ipynb#bill-ratio >}}")) >= 1
)
# Line 16
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed penguins.ipynb#fig-bill-marginal >}}")) >= 1
)
# Line 20
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed penguins.ipynb#species-counts echo=true >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/embed/embed-qmd.qmd", {
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed notebook.qmd#fig-mtcars >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/embed/qmd-embed/index.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed notebook.qmd#fig-index-plot >}}")) >= 1
)
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed notebook2.qmd#fig-polar echo=true >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/engine/test-include-engine-detection.qmd", {
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _includes-r-statements.qmd >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/extensions/basic/format.qmd", {
# Line 25
testthat::expect_true(
length(parse_shortcodes_cpp(" _Journal of Statistical Software_ (JSS) using its {{< latex >}} style files.")) >= 1
)
# Line 27
testthat::expect_true(
length(parse_shortcodes_cpp(" it is recommended to keep the {{< latex >}} code as simple as possible,")) >= 1
)
# Line 40
testthat::expect_true(
length(parse_shortcodes_cpp("The introduction is in principle \"as usual\". However, it should usually embed both the implemented *methods* and the *software* into the respective relevant literature. For the latter both competing and complementary software should be discussed (within the same software environment and beyond), bringing out relative (dis)advantages. All software mentioned should be properly `@cited`'d. (See also [Using BibTeX] for more details on {{< bibtex >}}.)")) >= 1
)
# Line 44
testthat::expect_true(
length(parse_shortcodes_cpp("If there is such markup in (sub)section titles (as above), a plain text version has to be provided in the {{< latex >}} command as well. Below we also illustrate how abbrevations should be introduced and citation commands can be employed. See the {{< latex >}} code for more details.")) >= 1
)
# Line 62
testthat::expect_true(
length(parse_shortcodes_cpp("TODO: Note that around the equation above there should be no spaces (avoided in the {{< latex >}} code by `%` lines) so that \"normal\" spacing is used and not a new paragraph started.")) >= 1
)
# Line 114
testthat::expect_true(
length(parse_shortcodes_cpp("avoided -- and made in the regular {{< latex >}} text instead. Finally, empty lines before and after code input/output should be avoided (see above).")) >= 1
)
# Line 199
testthat::expect_true(
length(parse_shortcodes_cpp("{{< pagebreak >}}")) >= 1
)
# Line 226
testthat::expect_true(
length(parse_shortcodes_cpp("References need to be provided in a {{< bibtex >}} file (`.bib`). All")) >= 1
)
# Line 231
testthat::expect_true(
length(parse_shortcodes_cpp("Cleaning up {{< bibtex >}} files is a somewhat tedious task -- especially")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/extensions/basic/shortcodes.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< fa regular heart >}}")) >= 1
)
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< fa solid heart >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/extensions/project/index.qmd", {
# Line 16
testthat::expect_true(
length(parse_shortcodes_cpp("{{< fa anchor >}} {{< fa bacteria >}} {{< fa jet-fighter >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/extensions/project/posts/welcome/index.qmd", {
# Line 14
testthat::expect_true(
length(parse_shortcodes_cpp("{{< fa anchor >}} {{< fa bacteria >}} {{< fa jet-fighter >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/inspect/foo.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _bar.qmd >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/jats/basic.qmd", {
# Line 122
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed computations.ipynb#fig-line >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/manuscript/ipynb-full/article.qmd", {
# Line 112
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed notebooks/visualization-figure-creation-seaborn.ipynb#fig-timeline >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/manuscript/qmd-full/index.qmd", {
# Line 115
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed notebook.qmd#plot-timeline >}}")) >= 1
)
# Line 119
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed notebook.qmd#plot-dists >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-a11y.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-arrow.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-atom-one.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-ayu-mirage.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-ayu.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-breeze.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-breezedark.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-dracula.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-espresso.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-github.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-gruvbox.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-haddock.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-kate.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-light-dark.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-monochrome.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-monokai.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-nord.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-oblivion.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-printing.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-pygments.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-radical.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-solarized.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-tango.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-vim-dark.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/code-highlight/code-highlight-zenburn.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _body.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/default-border-color.qmd", {
# Line 26
testthat::expect_true(
length(parse_shortcodes_cpp("{#fig-placeholder}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/unified-brand/dark-brand-only-file.qmd", {
# Line 20
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/unified-brand/dark-brand-only.qmd", {
# Line 29
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/unified-brand/dark-light-brand-file.qmd", {
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/unified-brand/dark-light-brand.qmd", {
# Line 34
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/unified-brand/light-brand-only-file.qmd", {
# Line 18
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/unified-brand/light-brand-only.qmd", {
# Line 23
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/unified-brand/light-dark-brand-file.qmd", {
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/unified-brand/light-dark-brand.qmd", {
# Line 34
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/unified-brand/unified-colors-file.qmd", {
# Line 17
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/unified-brand/unified-colors.qmd", {
# Line 35
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/unified-brand/unified-light-only.qmd", {
# Line 25
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/playwright/html/unified-brand/unified-typography.qmd", {
# Line 28
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/project/book/intro.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _include.qmd >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/shortcodes/brand-light-dark.qmd", {
# Line 28
testthat::expect_true(
length(parse_shortcodes_cpp("::: {#default-brand style='background-color: {{< brand color blue >}}'}")) >= 1
)
# Line 34
testthat::expect_true(
length(parse_shortcodes_cpp("::: {#light-brand .light-content style='color: {{< brand color foreground light >}}; background-color: {{< brand color blue light >}}'}")) >= 1
)
# Line 38
testthat::expect_true(
length(parse_shortcodes_cpp("::: {#dark-brand .dark-content style='color: {{< brand color foreground dark >}}; background-color: {{< brand color blue dark >}}'}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/shortcodes/custom.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< shorty _bringit_ >}}")) >= 1
)
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< shorty error >}}")) >= 1
)
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< shorty error_args >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/shortcodes/metadata-error.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("This is a cool document with an invalid value such as ({{< meta equation >}}).")) >= 1
)
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("This is a cool document with an invalid type such as ({{< meta weird-type >}}).")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/shortcodes/metadata.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("## {{< meta basic-value >}}")) >= 1
)
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("This is a cool document with some math such as ({{< meta equation >}}).")) >= 1
)
# Line 15
testthat::expect_true(
length(parse_shortcodes_cpp("{{< meta nested.subkey >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/shortcodes/vars-error.qmd", {
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("{{< var foobar123 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/shortcodes/vars-links.qmd", {
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("[This is a test of {{< var foo >}}](http://www.test.com/{{< var foo >}})")) >= 1
)
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/shortcodes/vars-simple.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< var foo >}}")) >= 1
)
# Line 13
testthat::expect_true(
length(parse_shortcodes_cpp("{{< var variable-2.sub.sub >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/site/index.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed notebooks/computations.ipynb#fig-visualization >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/site/subfolder/index.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed ../notebooks/computations.ipynb#fig-visualization >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2022/10/31/include-notebook/embed-sub.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed subfolder/plots.ipynb#plot-line >}}")) >= 1
)
# Line 15
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed subfolder/plots.ipynb#plot-dot >}}")) >= 1
)
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed subfolder/plots.ipynb[2] >}}")) >= 1
)
# Line 23
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed subfolder/plots.ipynb[2-4,1] >}}")) >= 1
)
# Line 27
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed subfolder/plots.ipynb#plot-dot,plot-line >}}")) >= 1
)
# Line 31
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed subfolder/plots.ipynb#plot-dot,plot-line >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2022/10/31/include-notebook/embed.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed plots.ipynb#plot-line >}}")) >= 1
)
# Line 15
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed plots.ipynb#plot-dot >}}")) >= 1
)
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed plots.ipynb[2] >}}")) >= 1
)
# Line 23
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed plots.ipynb[2-4,1] >}}")) >= 1
)
# Line 27
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed plots.ipynb#plot-dot,plot-line >}}")) >= 1
)
# Line 31
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed plots.ipynb#plot-dot,plot-line >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2022/11/14/3310.qmd", {
# Line 13
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/embed/wo9vZccmqwc >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2022/11/19/kbd-test.qmd", {
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("To foo, press {{< kbd Shift-Ctrl-P >}}. To bar, press {{< kbd Shift-Ctrl-P mac=Shift-Command-P >}}. To baz, press {{< kbd mac=Shift-Command-P win=Shift-Control-S linux=Shift-Ctrl-S >}}.")) >= 1
)
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("To foo, press {{< kbd win=Shift-Ctrl-P >}}. ")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2022/12/9/jats/example.qmd", {
# Line 139
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed computations.ipynb#fig-line >}}")) >= 1
)
# Line 185
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/embed/wo9vZccmqwc >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/01/03/issue-3833.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://players.brightcove.net/1460825906/default_default/index.html?videoId=5988531335001 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/01/05/notebook-preview-complex.qmd", {
# Line 62
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed plots.ipynb#plot-dot >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/01/05/notebook-preview-simple.qmd", {
# Line 60
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed plots.ipynb#plot-dot >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/01/18/3159.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include \"_file with spaces.md\" >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/01/27/asciidoc-video.qmd", {
# Line 22
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/watch?v=yRLMDtHlwuY >}}")) >= 1
)
# Line 26
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://vimeo.com/783455051 >}}")) >= 1
)
# Line 30
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video video.mp4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/01/31/asciidoc-kbd.qmd", {
# Line 16
testthat::expect_true(
length(parse_shortcodes_cpp("{{< kbd Shift-Ctrl-P >}}")) >= 1
)
# Line 20
testthat::expect_true(
length(parse_shortcodes_cpp("{{< kbd Shift-Ctrl-T mac=Shift-Command-T >}}")) >= 1
)
# Line 24
testthat::expect_true(
length(parse_shortcodes_cpp("{{< kbd Shift-Ctrl-Q mac=Shift-Command-Q win=Shift-Control-Q linux=Shift-Ctrl-Q >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/03/30/issue-5031.qmd", {
# Line 13
testthat::expect_true(
length(parse_shortcodes_cpp("What is defined in the lua filter: \"{{< meta new >}}\"")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/04/24/format-links.qmd", {
# Line 21
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1-2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/05/09/5472.qmd", {
# Line 14
testthat::expect_true(
length(parse_shortcodes_cpp("Another {{< meta second >}} code.")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/05/11/5507.qmd", {
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("{{< meta somevalue >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/05/16/5534.qmd", {
# Line 3
testthat::expect_true(
length(parse_shortcodes_cpp("subtitle: What a {{< meta foo >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/05/24/5661-html.qmd", {
# Line 15
testthat::expect_true(
length(parse_shortcodes_cpp("{{< callout-test >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/05/30/shortcode-table-dataqmd.qmd", {
# Line 21
testthat::expect_true(
length(parse_shortcodes_cpp("
}}\"> | ")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/06/13/5902.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< gallery >}}")) >= 1
)
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("{{< figureforgallery src=\"search2.png\" alt=\"Screenshot of r-universe simple search results.\" >}}")) >= 1
)
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< figureforgallery src=\"search3.png\" alt=\"Screenshot of r-universe advanced search query.\" >}}")) >= 1
)
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< figureforgallery src=\"search4.png\" alt=\"Screenshot of r-universe advanced search results.\" >}}")) >= 1
)
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< /gallery >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/09/14/6833.qmd", {
# Line 15
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube-nocookie.com/embed/aqz-KE-bpKQ width=\"640\" height=\"360\" >}}")) >= 1
)
# Line 21
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube-nocookie.com/embed/aqz-KE-bpKQ width=\"640\" aspect-ratio=\"16x9\" >}}")) >= 1
)
# Line 27
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube-nocookie.com/embed/aqz-KE-bpKQ height=\"360\" aspect-ratio=\"16x9\" >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/10/02/6521/issue.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed nb.qmd#fig-1 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/10/02/7108.qmd", {
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp(" - [\"{{< noticeowl \\\"learn\\\" >}}\", \"{{< noticeowl2 \\\"learn2\\\" >}}\"]")) >= 1
)
# Line 14
testthat::expect_true(
length(parse_shortcodes_cpp("{{< noticeowl \"learn\" >}}")) >= 1
)
# Line 16
testthat::expect_true(
length(parse_shortcodes_cpp("This inline shortcode should also be preserved {{< noticeowl2 \"learn2\" >}} and not touched.")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/11/02/latex-quarto-markdown-base64.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("% U29tZSBfbWFya2Rvd25fIGhlcmUu is \"{{< meta a_meta_key >}} Some _markdown_ here.\" in base-64 encoding")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/11/15/5403.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< kbd Shift-Control-O >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2023/12/01/1237.qmd", {
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include file.r >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/01/03/issue-8086.qmd", {
# Line 17
testthat::expect_true(
length(parse_shortcodes_cpp("{{< meta testkey.1 >}}")) >= 1
)
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("{{< meta testkey2.testkey >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/01/17/8316.qmd", {
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< env something_that_does_not_exist a_default_value_to_be_tested_for >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/01/22/8389.qmd", {
# Line 14
testthat::expect_true(
length(parse_shortcodes_cpp("{{< meta foo >}}")) >= 1
)
# Line 15
testthat::expect_true(
length(parse_shortcodes_cpp("In a phrase: {{< meta foo >}}")) >= 1
)
# Line 16
testthat::expect_true(
length(parse_shortcodes_cpp("With quotes: `{{< meta foo >}}`")) >= 1
)
# Line 22
testthat::expect_true(
length(parse_shortcodes_cpp("`{{< meta foo >}}` There's no more bug here.")) >= 1
)
# Line 28
testthat::expect_true(
length(parse_shortcodes_cpp("{{< meta foo >}} Hello?")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/01/29/8485.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< meta classe_rugosità >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/02/21/8779/index.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_in.qmd >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/02/21/8779/subdir/test.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_in.qmd >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/05/13/9635.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include file.qmd >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/05/14/9665.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/05/14/placeholder-test.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< placeholder >}}")) >= 1
)
# Line 17
testthat::expect_true(
length(parse_shortcodes_cpp("{{< placeholder 400 >}}")) >= 1
)
# Line 21
testthat::expect_true(
length(parse_shortcodes_cpp("{{< placeholder 400 200 >}}")) >= 1
)
# Line 25
testthat::expect_true(
length(parse_shortcodes_cpp("{{< placeholder 400 200 format=svg >}}")) >= 1
)
# Line 29
testthat::expect_true(
length(parse_shortcodes_cpp("{#fig-placeholder-test-2}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/05/16/9701.qmd", {
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("## {{< fa quote-right >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/05/20/9722.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< placeholder >}}")) >= 1
)
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{#fig-1}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/05/29/9713/main.qmd", {
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed plots.qmd#plot >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/06/06/9903.qmd", {
# Line 16
testthat::expect_true(
length(parse_shortcodes_cpp("## Slide Title {background-iframe='{{< meta htmllink >}}'}")) >= 1
)
# Line 18
testthat::expect_true(
length(parse_shortcodes_cpp("[A link]({{< meta htmllink >}}){attr='{{< meta htmllink >}}'}.")) >= 1
)
# Line 20
testthat::expect_true(
length(parse_shortcodes_cpp("{attr='{{< meta htmllink >}}'}")) >= 1
)
# Line 22
testthat::expect_true(
length(parse_shortcodes_cpp("[A span]{#foo attr='{{< meta htmllink >}}'}.")) >= 1
)
# Line 24
testthat::expect_true(
length(parse_shortcodes_cpp("::: {#div-1 attr='{{< meta htmllink >}}'}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/06/07/9903-1.qmd", {
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("## Test {background-iframe='{{< meta htmllink >}}'}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/06/07/9903-2.qmd", {
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("[A span]{#span-1 key='{{< meta htmllink >}}'}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/06/07/9903-3.qmd", {
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("::: {#div-1 key='{{< meta htmllink >}}'}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/06/07/9903-4.qmd", {
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("{key='{{< meta htmllink >}}'}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/06/07/9903-5.qmd", {
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("[a link](./foo.png){key='{{< meta htmllink >}}'}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/06/27/10165.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{width=45 alt=\"\"}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/07/01/inspect-test/docs/foo.qmd", {
# Line 1
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _bar.md >}}")) >= 1
)
# Line 3
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /_test.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/07/01/inspect-test/index.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _test.md >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/07/02/10004-b.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp(" code-summary: \"this is the summary, {{< meta key >}}\"")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/07/02/10004-c.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp(" code-summary: \"this is the summary, {{< meta key >}}\"")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/07/02/10004-d.qmd", {
# Line 13
testthat::expect_true(
length(parse_shortcodes_cpp("::: {#thm-1 name='Hello, {{< meta key >}}'}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/07/02/10004.qmd", {
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("::: {.callout-note title='{{< meta title >}}'}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/07/02/index-nil-value-caption-long-lightbox-bug/index.qmd", {
# Line 15
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed notebook.ipynb#fig-scatter-plot echo=true >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/09/30/issue-10936.qmd", {
# Line 14
testthat::expect_true(
length(parse_shortcodes_cpp("E.g. {{< meta nested.a\\\\.b\\\\.c.key >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/10/22/issue-10292.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< vimeo id=\"146022717\" class=\"my-vimeo-wrapper-class\" title=\"My vimeo video\" >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/10/29/feature-11192/index.qmd", {
# Line 20
testthat::expect_true(
length(parse_shortcodes_cpp("{{< brand color white >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/11/14/issue-11441.qmd", {
# Line 13
testthat::expect_true(
length(parse_shortcodes_cpp("{{< meta hello >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2024/12/17/issue-11699.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/watch?v=Sq1QZB5baNw title=\"Figure Status Update - OpenAI Speech-to-Speech Reasoning\" aspect-ratio=\"21x9\" width=\"100%\" height=\"100%\" >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2025/01/29/issue-11664.qmd", {
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2025/02/01/11896.qmd", {
# Line 17
testthat::expect_true(
length(parse_shortcodes_cpp("{{< pagebreak >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2025/03/06/issue-12006.qmd", {
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("Quarto {{< version >}} is amazing.")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2025/04/09/kbd-adoc-bad-input.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< kbd key=\"\\\\\" >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2025/06/11/issue-12853/quarto-test/index.qmd", {
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed somefolder/somefile.qmd#plot-phase-space-density echo=true >}}")) >= 1
)
# Line 14
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed somefolder/somefile.qmd#plot-final-density echo=true >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/2025/06/12/issue-12919.qmd", {
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< kbd mac=Shift-Command-O win=Shift-Control-O linux=Shift-Ctrl-L >}}")) >= 1
)
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("{{< kbd Shift-K >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/article-layout/tables/compute-table-margin.qmd", {
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/brand-mode/brand-logo-alt-override-dark.qmd", {
# Line 57
testthat::expect_true(
length(parse_shortcodes_cpp("- in {{< meta brand-mode >}} mode!")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/brand-mode/brand-logo-reverse-dark.qmd", {
# Line 49
testthat::expect_true(
length(parse_shortcodes_cpp("- in {{< meta brand-mode >}} mode!")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/brand-mode/brand-mode-dark.qmd", {
# Line 43
testthat::expect_true(
length(parse_shortcodes_cpp("- in {{< meta brand-mode >}} mode!")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/brand-mode/brand-mode-light.qmd", {
# Line 43
testthat::expect_true(
length(parse_shortcodes_cpp("- in {{< meta brand-mode >}} mode!")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/choose-logo-resource.qmd", {
# Line 39
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/dark-logo.qmd", {
# Line 49
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/dark-mode-no-dark-logo.qmd", {
# Line 49
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/dark-mode-no-light-logo.qmd", {
# Line 47
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/dark-mode-search-priority.qmd", {
# Line 53
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/default-logo.qmd", {
# Line 38
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/document-brand-precedence.qmd", {
# Line 44
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/document-dark-brand-dark-only.qmd", {
# Line 56
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/document-light-brand-light-only.qmd", {
# Line 57
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/explicit-dark-light-paths.qmd", {
# Line 44
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/format-specific-logo.qmd", {
# Line 58
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/legacy-logo-syntax.qmd", {
# Line 43
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/logo-extension/logo-brand-extension.qmd", {
# Line 42
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/logo-extension-github/logo-brand-extension.qmd", {
# Line 42
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/missing-medium-dark-fallback.qmd", {
# Line 47
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/mixed-resource-direct-path.qmd", {
# Line 44
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/mode-first-search-algorithm.qmd", {
# Line 49
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/navbar/theme-dark-enables-dark-logo/index.qmd", {
# Line 15
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/no-dark-mode-no-dark-logo.qmd", {
# Line 28
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/override-dark-logo.qmd", {
# Line 53
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/override-logo-path-alt.qmd", {
# Line 47
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/override-logo-path.qmd", {
# Line 39
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/override-logo-resource-alt.qmd", {
# Line 41
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/override-logo-resource.qmd", {
# Line 40
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/partial-document-override.qmd", {
# Line 48
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/path-vs-object-specification.qmd", {
# Line 45
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/sidebar/theme-dark-mode-enables-dark-logo/index.qmd", {
# Line 15
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/theme-dark-mode-brand-file-light-doc-dark-logo.qmd", {
# Line 26
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/theme-dark-mode-brand-file-light-no-doc-logo-yes-dark-logo.qmd", {
# Line 22
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/theme-dark-mode-brand-file-light-yes-dark-logo.qmd", {
# Line 24
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/theme-dark-mode-yes-dark-logo.qmd", {
# Line 31
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/theme-dark-project-brand-file-light/yes-dark-logo.qmd", {
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/logo/url-logo.qmd", {
# Line 45
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
# Line 47
testthat::expect_true(
length(parse_shortcodes_cpp("{{< brand logo small>}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/brand/test-01/index.qmd", {
# Line 15
testthat::expect_true(
length(parse_shortcodes_cpp("[a span]{style='color: {{< brand color primary >}}'}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/contents-shortcode/from-code-cell.qmd", {
# Line 36
testthat::expect_true(
length(parse_shortcodes_cpp("{{< contents my-id >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/dark-mode/ggplot-brandless.qmd", {
# Line 114
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 3 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/dark-mode/gt-capcross.qmd", {
# Line 51
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 3 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/dark-mode/matplotlib-brandless-defaultdark.qmd", {
# Line 196
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 3 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/dark-mode/matplotlib-brandless.qmd", {
# Line 199
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 3 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/dark-mode/matplotlib-duobrand-defaultdark.qmd", {
# Line 201
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 3 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/dark-mode/matplotlib-duobrand.qmd", {
# Line 201
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 3 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/dashboard/1-card-content.qmd", {
# Line 14
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/dashboard/2-layout-flow-fill-2.qmd", {
# Line 20
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/dashboard/9-page-fill-flow.qmd", {
# Line 22
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 15 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/dashboard/9-page-orientation.qmd", {
# Line 21
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 15 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/embed/tables/parent.qmd", {
# Line 21
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed inset-table.qmd#tbl-kable >}}")) >= 1
)
# Line 25
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed inset-table.qmd#tbl-gt >}}")) >= 1
)
# Line 29
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed inset-table.qmd#tbl-flextable >}}")) >= 1
)
# Line 33
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed inset-table.qmd#tbl-kable-extra >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/format/html/code-links-manual.qmd", {
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
# Line 23
testthat::expect_true(
length(parse_shortcodes_cpp("{{< unsplash imgs/beach.jpg >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/format/html/code-links-root.qmd", {
# Line 17
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
# Line 21
testthat::expect_true(
length(parse_shortcodes_cpp("{{< unsplash imgs/sunset.jpg >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/format/html/code-links.auto.qmd", {
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
# Line 23
testthat::expect_true(
length(parse_shortcodes_cpp("{{< unsplash imgs/jet.jpg >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/jats/basic.qmd", {
# Line 142
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed computations.ipynb#fig-line >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/lightbox/8697.qmd", {
# Line 15
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/lightbox/plot-layout.qmd", {
# Line 21
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/lightbox/plot.qmd", {
# Line 21
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/shortcodes/brand-logo-both.qmd", {
# Line 31
testthat::expect_true(
length(parse_shortcodes_cpp("{{< brand logo small >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/shortcodes/brand-logo-dark.qmd", {
# Line 22
testthat::expect_true(
length(parse_shortcodes_cpp("{{< brand logo small dark >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/shortcodes/brand-logo-fallback-light.qmd", {
# Line 25
testthat::expect_true(
length(parse_shortcodes_cpp("{{< brand logo small dark >}}")) >= 1
)
# Line 28
testthat::expect_true(
length(parse_shortcodes_cpp("{{< brand logo small light >}}")) >= 1
)
# Line 31
testthat::expect_true(
length(parse_shortcodes_cpp("{{< brand logo medium light >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/shortcodes/brand-logo-fallback.qmd", {
# Line 25
testthat::expect_true(
length(parse_shortcodes_cpp("{{< brand logo small light >}}")) >= 1
)
# Line 28
testthat::expect_true(
length(parse_shortcodes_cpp("{{< brand logo small dark >}}")) >= 1
)
# Line 31
testthat::expect_true(
length(parse_shortcodes_cpp("{{< brand logo medium dark >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/shortcodes/brand-logo-light.qmd", {
# Line 22
testthat::expect_true(
length(parse_shortcodes_cpp("{{< brand logo small light >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/shortcodes/brand-logo-sizes.qmd", {
# Line 21
testthat::expect_true(
length(parse_shortcodes_cpp("{{< brand logo small >}}")) >= 1
)
# Line 24
testthat::expect_true(
length(parse_shortcodes_cpp("{{< brand logo medium >}}")) >= 1
)
# Line 27
testthat::expect_true(
length(parse_shortcodes_cpp("{{< brand logo large >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/shortcodes/brand-logo-unified-brand-both.qmd", {
# Line 24
testthat::expect_true(
length(parse_shortcodes_cpp("{{< brand logo small >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/shortcodes/brand-logo-unified-brand-nodark.qmd", {
# Line 18
testthat::expect_true(
length(parse_shortcodes_cpp("{{< brand logo small >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/shortcodes/brand-logo-unified-brand.qmd", {
# Line 22
testthat::expect_true(
length(parse_shortcodes_cpp("{{< brand logo small >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/shortcodes/meta-bad-data.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< meta bad-meta >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/color/foreground-background.qmd", {
# Line 36
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/color/typst-css-duobrand-named-color-dark.qmd", {
# Line 39
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/color/typst-css-duobrand-named-color.qmd", {
# Line 38
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/color/typst-css-duobrand-wrong-named-color-dark.qmd", {
# Line 42
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/color/typst-css-duobrand-wrong-named-color-light.qmd", {
# Line 42
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/color/typst-css-named-brand-color.qmd", {
# Line 30
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/logo/customize-without-path.qmd", {
# Line 23
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/logo/directional-padding.qmd", {
# Line 25
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/logo/light-dark-directional-padding-dark-mode.qmd", {
# Line 43
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/logo/light-dark-directional-padding.qmd", {
# Line 42
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/logo/light-dark-variants-dark-mode.qmd", {
# Line 37
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/logo/light-dark-variants.qmd", {
# Line 36
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/logo/padding/brand-logo.qmd", {
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/logo/padding-xy/brand-logo.qmd", {
# Line 17
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/logo/posit/brand-logo.qmd", {
# Line 18
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/logo/quarto/brand-logo.qmd", {
# Line 17
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/logo/relative-path/brand-logo.qmd", {
# Line 21
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 4 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/typography/brand-extension/brand-typography.qmd", {
# Line 33
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 3 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/typography/complex/brand-typography.qmd", {
# Line 33
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 3 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/typography/dashed-font-weights.qmd", {
# Line 44
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/typography/font-list.qmd", {
# Line 41
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
# Line 47
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/typography/google/brand-typography.qmd", {
# Line 33
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 3 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/typography/kitchen-sink-1/brand-typography.qmd", {
# Line 69
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 3 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/typography/kitchen-sink-2/brand-typography.qmd", {
# Line 69
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 3 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/typography/nobrand/brand-typography.qmd", {
# Line 32
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 5 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/typography/relative-path/brand-typography.qmd", {
# Line 34
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 3 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/typography/simple/brand-typography.qmd", {
# Line 33
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 3 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/brand-yaml/typography/title-inherit-base-family.qmd", {
# Line 27
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/layout/fraction-layout.qmd", {
# Line 16
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 18
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 20
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 22
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 24
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 26
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 28
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/layout/overflowing-callout-7.qmd", {
# Line 21
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 23
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 25
testthat::expect_true(
length(parse_shortcodes_cpp("{width=\"100pt\"}")) >= 1
)
# Line 27
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 29
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 31
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 33
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/layout/overflowing-callout.qmd", {
# Line 20
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 22
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 24
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 26
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 28
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/layout/unitless-image-width.qmd", {
# Line 21
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 23
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 25
testthat::expect_true(
length(parse_shortcodes_cpp("{width=100}")) >= 1
)
# Line 27
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 29
testthat::expect_true(
length(parse_shortcodes_cpp("{width=25}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/typst-i18n.qmd", {
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("{#fig-marcador}")) >= 1
)
# Line 21
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 25
testthat::expect_true(
length(parse_shortcodes_cpp("{#fig-layout-a}")) >= 1
)
# Line 27
testthat::expect_true(
length(parse_shortcodes_cpp("{#fig-layout-b}")) >= 1
)
# Line 35
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 37
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/typst-subfig-badid.qmd", {
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("{#foo}")) >= 1
)
# Line 21
testthat::expect_true(
length(parse_shortcodes_cpp("{#bar}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/typst/typst-subfig.qmd", {
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
# Line 21
testthat::expect_true(
length(parse_shortcodes_cpp("")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/smoke-all/video/video-smoke-test.qmd", {
# Line 45
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video local-video.mp4 >}}")) >= 1
)
# Line 51
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.dropbox.com/s/iq12mc6fqeag7xm/local-video.mp4?raw=1 >}}")) >= 1
)
# Line 58
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/embed/wo9vZccmqwc >}}")) >= 1
)
# Line 64
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://vimeo.com/548291297 >}}")) >= 1
)
# Line 70
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://vimeo.com/548291297/fdcc90d662 >}}")) >= 1
)
# Line 76
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://vimeo.com/548291297/fdcc90d662?share=copy >}}")) >= 1
)
# Line 82
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://youtu.be/wo9vZccmqwc width=\"400\" height=\"300\" >}}")) >= 1
)
# Line 97
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/watch?v=wo9vZccmqwc >}}")) >= 1
)
# Line 103
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/embed/wo9vZccmqwc >}}")) >= 1
)
# Line 109
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://players.brightcove.net/1460825906/default_default/index.html?videoId=5988531335001 >}}")) >= 1
)
# Line 115
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/shorts/Kra3uHSIuBY >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/websites/issue-9253/_include.qmd", {
# Line 3
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _include2.qmd >}}")) >= 1
)
})
test_that("examples/quarto-cli/tests/docs/websites/issue-9253/index.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _include.qmd >}}")) >= 1
)
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _include.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/bug-reports.qmd", {
# Line 46
testthat::expect_true(
length(parse_shortcodes_cpp("{#fig-placeholder}")) >= 1
)
# Line 48
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
# Line 71
testthat::expect_true(
length(parse_shortcodes_cpp("{#fig-placeholder}")) >= 1
)
# Line 73
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/advanced/inspect/index.qmd", {
# Line 72
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include quarto-inspect-project-json-schema.json >}}")) >= 1
)
# Line 80
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include quarto-inspect-document-json-schema.json >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/advanced/jupyter/kernel-execution.qmd", {
# Line 28
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/prerelease/1.5/_pre-release-feature.qmd >}}")) >= 1
)
# Line 45
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/prerelease/1.5/_pre-release-feature.qmd >}}")) >= 1
)
# Line 77
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/prerelease/1.5/_pre-release-feature.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/_cross-reference-divs-video.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/embed/wo9vZccmqwc >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/_embed-examples/sample-notebook-view.qmd", {
# Line 15
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed ../penguins.ipynb#fig-bill-marginal >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/_embed-examples/sample.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed ../penguins.ipynb#fig-bill-marginal >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/_embeds-ipynb.qmd", {
# Line 3
testthat::expect_true(
length(parse_shortcodes_cpp("To embed output from a notebook, you can use the `embed` shortcode. Quarto shortcodes are special markdown directives that generate content. The `embed` shortcode is used in `{{< meta tool.article-file >}}` in the line:")) >= 1
)
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed notebooks/data-screening.ipynb#fig-spatial-plot >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/_kbd.qmd", {
# Line 1
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_require-1.3.qmd >}}")) >= 1
)
# Line 13
testthat::expect_true(
length(parse_shortcodes_cpp("To print, press {{< kbd Shift-Ctrl-P >}}. To open an existing new project, press {{< kbd mac=Shift-Command-O win=Shift-Control-O linux=Shift-Ctrl-L >}}.")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/_mermaid-theming.qmd", {
# Line 1
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_require-1.3.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/_pagebreak.qmd", {
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("{{< pagebreak >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/_shortcodes.qmd", {
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("{{< meta title >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/article-layout.qmd", {
# Line 233
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _pagebreak.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/brand.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _brand-example.qmd >}}")) >= 1
)
# Line 551
testthat::expect_true(
length(parse_shortcodes_cpp("{{< brand logo icon >}}")) >= 1
)
# Line 562
testthat::expect_true(
length(parse_shortcodes_cpp("## Slide Title {background-color='{{< brand color primary >}}'}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/callouts.qmd", {
# Line 165
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _cross-references-callouts.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/citations.qmd", {
# Line 137
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../output-formats/_pdf-citations.md >}} ")) >= 1
)
# Line 141
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../output-formats/_typst-citations.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/code-annotation.qmd", {
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_require-1.3.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/conditional.qmd", {
# Line 90
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _format-aliases.md >}}")) >= 1
)
# Line 94
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.4.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/cross-references-custom.qmd", {
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.4.qmd >}}")) >= 1
)
# Line 37
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/embed/wo9vZccmqwc >}}")) >= 1
)
# Line 49
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/embed/wo9vZccmqwc >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/cross-references-divs.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.4.qmd >}}")) >= 1
)
# Line 115
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _cross-reference-divs-figure.qmd >}}")) >= 1
)
# Line 137
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _cross-reference-divs-table.qmd >}}")) >= 1
)
# Line 166
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _cross-reference-divs-listing.qmd >}}")) >= 1
)
# Line 231
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _cross-reference-divs-diagram.qmd >}}")) >= 1
)
# Line 235
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _cross-reference-divs-video.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/cross-references.qmd", {
# Line 125
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _cross-reference-divs-figure.qmd >}}")) >= 1
)
# Line 186
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _computed-caption.md >}}")) >= 1
)
# Line 223
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _table-crossrefs.md >}}")) >= 1
)
# Line 231
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _cross-reference-divs-table.qmd >}}")) >= 1
)
# Line 237
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _table-crossrefs-subtables.md >}}")) >= 1
)
# Line 253
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _computed-caption.md >}}")) >= 1
)
# Line 300
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _cross-reference-divs-listing.qmd >}}")) >= 1
)
# Line 304
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _cross-references-listings.qmd >}}")) >= 1
)
# Line 308
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _cross-references-callouts.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/diagrams.qmd", {
# Line 139
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _cross-reference-divs-diagram.qmd >}}")) >= 1
)
# Line 205
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _mermaid-theming.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/includes.qmd", {
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("Use absolute (to the project root) paths for links, images, or other includes, in included files to ensure they resolve correctly, *e.g.*, `[A Figure Reused](/path/to/image.png)` or `{{< include /path/to/_file.qmd >}}`.")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/lipsum.qmd", {
# Line 16
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 2 >}}")) >= 1
)
# Line 25
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/markdown-basics.qmd", {
# Line 402
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/embed/wo9vZccmqwc >}}")) >= 1
)
# Line 407
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _pagebreak.qmd >}}")) >= 1
)
# Line 580
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _kbd.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/notebook-embed.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_require-1.4.qmd >}}")) >= 1
)
# Line 18
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed penguins.ipynb#fig-bill-scatter >}}")) >= 1
)
# Line 23
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed penguins.ipynb#fig-bill-scatter >}}")) >= 1
)
# Line 62
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed penguins.qmd#fig-size-scatter >}}")) >= 1
)
# Line 67
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed penguins-qmd.qmd#fig-size-scatter >}}")) >= 1
)
# Line 90
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed penguins.ipynb#bill-ratio >}}")) >= 1
)
# Line 95
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed penguins.ipynb#bill-ratio >}}")) >= 1
)
# Line 127
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed penguins.ipynb#fig-bill-marginal >}}")) >= 1
)
# Line 132
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed penguins.ipynb#fig-bill-marginal >}}")) >= 1
)
# Line 139
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed penguins.ipynb#species-counts echo=true >}}")) >= 1
)
# Line 144
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed penguins.ipynb#species-counts echo=true >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/placeholder.qmd", {
# Line 17
testthat::expect_true(
length(parse_shortcodes_cpp("{{< placeholder >}}")) >= 1
)
# Line 31
testthat::expect_true(
length(parse_shortcodes_cpp("{{< placeholder 400 200 format=svg >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/shortcodes.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/authoring/_shortcodes.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/tables.qmd", {
# Line 227
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _table-crossrefs.md >}}")) >= 1
)
# Line 233
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _table-crossrefs-subtables.md >}}")) >= 1
)
# Line 543
testthat::expect_true(
length(parse_shortcodes_cpp(" }}\"> | ")) >= 1
)
# Line 563
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include col-and-row-span.html >}}")) >= 1
)
# Line 568
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include col-and-row-span.html >}}")) >= 1
)
# Line 579
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include cell-alignment.html >}}")) >= 1
)
# Line 584
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include cell-alignment.html >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/variables.qmd", {
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("{{< meta title >}}")) >= 1
)
# Line 47
testthat::expect_true(
length(parse_shortcodes_cpp("Version {{< var version >}} is a minor upgrade.")) >= 1
)
# Line 49
testthat::expect_true(
length(parse_shortcodes_cpp("Please contact us at {{< var email.info >}}.")) >= 1
)
# Line 51
testthat::expect_true(
length(parse_shortcodes_cpp("Quarto includes {{< var engine.jupyter >}} and ")) >= 1
)
# Line 52
testthat::expect_true(
length(parse_shortcodes_cpp("{{< var engine.knitr >}} computation engines.")) >= 1
)
# Line 62
testthat::expect_true(
length(parse_shortcodes_cpp("{{< meta title >}}")) >= 1
)
# Line 68
testthat::expect_true(
length(parse_shortcodes_cpp("{{< meta labels.description >}}")) >= 1
)
# Line 75
testthat::expect_true(
length(parse_shortcodes_cpp("{{< meta author.1 >}}")) >= 1
)
# Line 82
testthat::expect_true(
length(parse_shortcodes_cpp("{{< meta field\\\\.with\\\\.dots >}}")) >= 1
)
# Line 90
testthat::expect_true(
length(parse_shortcodes_cpp("Version {{< env PRODUCT_VERSION >}} is a minor upgrade.")) >= 1
)
# Line 96
testthat::expect_true(
length(parse_shortcodes_cpp("Version {{< env PRODUCT_VERSION \"*.*\" >}} is a minor upgrade.")) >= 1
)
# Line 101
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../extensions/_shortcode-escaping.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/version.qmd", {
# Line 13
testthat::expect_true(
length(parse_shortcodes_cpp("> Quarto CLI {{< version >}} is being used to build this document.")) >= 1
)
# Line 22
testthat::expect_true(
length(parse_shortcodes_cpp("Quarto CLI {{< version >}} is amazing.")) >= 1
)
})
test_that("examples/quarto-web/docs/authoring/videos.qmd", {
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/embed/wo9vZccmqwc >}}")) >= 1
)
# Line 18
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video local-video.mp4 >}}")) >= 1
)
# Line 20
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/embed/wo9vZccmqwc >}}")) >= 1
)
# Line 22
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://vimeo.com/548291297 >}}")) >= 1
)
# Line 24
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://youtu.be/wo9vZccmqwc width=\"400\" height=\"300\" >}}")) >= 1
)
# Line 44
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video local-video.mp4 >}}")) >= 1
)
# Line 45
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://videos.example.com/video.mp4 >}}")) >= 1
)
# Line 51
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://youtu.be/wo9vZccmqwc >}}")) >= 1
)
# Line 52
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/watch?v=wo9vZccmqwc >}}")) >= 1
)
# Line 53
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/embed/wo9vZccmqwc >}}")) >= 1
)
# Line 54
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://vimeo.com/548291297 >}}")) >= 1
)
# Line 55
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://players.brightcove.net/1460825906/default_default/index.html?videoId=5988531335001 >}}")) >= 1
)
# Line 67
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://youtu.be/wo9vZccmqwc aspect-ratio=\"4x3\" >}}")) >= 1
)
# Line 77
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://youtu.be/wo9vZccmqwc width=\"250\" height=\"175\" >}}")) >= 1
)
# Line 87
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://youtu.be/wo9vZccmqwc start=\"10\" >}}")) >= 1
)
# Line 115
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://youtu.be/wo9vZccmqwc width=\"100%\" height=\"100%\" >}}")) >= 1
)
# Line 125
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://youtu.be/wo9vZccmqwc width=\"100%\" height=\"85%\" >}}")) >= 1
)
# Line 146
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../presentations/revealjs/_background-video.md >}}")) >= 1
)
# Line 150
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _cross-reference-divs-video.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/blog/posts/2023-03-13-code-annotation/index.qmd", {
# Line 17
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_quarto-1.3-feature.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/blog/posts/2023-03-15-multi-format/index.qmd", {
# Line 20
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_quarto-1.3-feature.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/blog/posts/2023-03-17-jupyter-cell-embedding/index.qmd", {
# Line 16
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_quarto-1.3-feature.qmd >}}")) >= 1
)
# Line 25
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed penguins.ipynb#fig-bill-scatter >}}")) >= 1
)
# Line 30
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed penguins.ipynb#fig-bill-scatter >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/blog/posts/2023-03-20-confluence/index.qmd", {
# Line 16
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_quarto-1.3-feature.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/blog/posts/2023-05-15-get-started/index.qmd", {
# Line 16
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video \"https://www.youtube.com/embed/_f3latmOhew\" >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/blog/posts/2023-05-22-quarto-for-academics/index.qmd", {
# Line 16
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video \"https://www.youtube.com/embed/EbAAmrB0luA\" >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/blog/posts/2023-12-07-quarto-dashboards-demo/index.qmd", {
# Line 17
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video “https://www.youtube.com/watch?v=_VGJIPRGTy4&ab_channel=PositPBC” >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/blog/posts/2024-01-24-1.4-release/index.qmd", {
# Line 193
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _contribs.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/blog/posts/2024-04-01-manuscripts-rmedicine/index.qmd", {
# Line 15
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/embed/NK1onTLcgY4 >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/blog/posts/2024-07-11-1.5-release/index.qmd", {
# Line 76
testthat::expect_true(
length(parse_shortcodes_cpp("{{< placeholder 400 200 format=svg >}}")) >= 1
)
# Line 77
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
# Line 83
testthat::expect_true(
length(parse_shortcodes_cpp("{{< placeholder 400 200 format=svg >}}")) >= 1
)
# Line 85
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
# Line 94
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _contribs.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/blog/posts/2024-11-22-dashboards-workshop/index.qmd", {
# Line 25
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/watch?v=HW7QbqI4fH0 >}}")) >= 1
)
# Line 31
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/watch?v=KdsQgwaY950 >}}")) >= 1
)
# Line 37
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/watch?v=NigWSB-jG4Y >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/blog/posts/2024-11-25-1.6-release/index.qmd", {
# Line 34
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/authoring/_brand-example.qmd >}}")) >= 1
)
# Line 42
testthat::expect_true(
length(parse_shortcodes_cpp("[**Jump to Slide**](/docs/presentations/revealjs/presenting.qmd#jump-to-slide): Quickly navigate to a slide. Press {{< kbd G >}} to activate, type a slide number or ID, and hit Enter/Return.")) >= 1
)
# Line 44
testthat::expect_true(
length(parse_shortcodes_cpp("[**Scroll Mode**](/docs/presentations/revealjs/presenting.qmd#scroll-view): Scroll rather than click to advance slides. Press {{< kbd R >}}, add `?view=scroll` to your URL, or use the Navigation menu to activate. Automatically activated on small screens.")) >= 1
)
# Line 65
testthat::expect_true(
length(parse_shortcodes_cpp("{{< contents a-cell >}}")) >= 1
)
# Line 118
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _contribs.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/blog/posts/2024-12-04-websites-workshop/index.qmd", {
# Line 24
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://youtu.be/l7r24gTEkEY >}}")) >= 1
)
# Line 34
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://youtu.be/k65E-8PXZmA >}}")) >= 1
)
# Line 45
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://youtu.be/pAN2Hiq0XGs >}}")) >= 1
)
# Line 55
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://www.youtube.com/watch?v=bv_Cw-3HI1Y >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/blog/posts/2025-01-15-quarto-tip-brand-positron/index.qmd", {
# Line 22
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://youtu.be/Mly_DK-2BnI >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/blog/posts/2025-04-28-1.7-release/index.qmd", {
# Line 99
testthat::expect_true(
length(parse_shortcodes_cpp(" Rendered with Quarto {{< version >}}")) >= 1
)
# Line 102
testthat::expect_true(
length(parse_shortcodes_cpp(" Rendered with Quarto {{< version >}}")) >= 1
)
# Line 130
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _contribs.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/blog/posts/2025-xx-xx-1.7-release/index.qmd", {
# Line 24
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _contribs.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/books/book-output.qmd", {
# Line 43
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _book-vs-website-key.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/books/book-structure.qmd", {
# Line 233
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../websites/_page-navigation.md >}} ")) >= 1
)
# Line 235
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../websites/_footer.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/computations/caching.qmd", {
# Line 132
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../projects/_freeze-basics.md >}} ")) >= 1
)
})
test_that("examples/quarto-web/docs/computations/execution-options.qmd", {
# Line 280
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _knitr-options.md >}}")) >= 1
)
# Line 401
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _unexecuted-blocks.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/computations/julia.qmd", {
# Line 105
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _jupyter-rendering.md >}}")) >= 1
)
# Line 107
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _jupyter-authoring-tools.md >}}")) >= 1
)
# Line 111
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/prerelease/1.5/_pre-release-feature.qmd >}}")) >= 1
)
# Line 609
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _jupyter-cache.md >}}")) >= 1
)
# Line 611
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _caching-more.md >}}")) >= 1
)
# Line 632
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _jupyter-daemon.md >}}")) >= 1
)
# Line 639
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _jupyter-install.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/computations/parameters.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _parameters.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/computations/python.qmd", {
# Line 63
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _jupyter-rendering.md >}}")) >= 1
)
# Line 69
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _jupyter-install.md >}}")) >= 1
)
# Line 71
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _jupyter-authoring-tools.md >}}")) >= 1
)
# Line 73
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _jupyter-cache.md >}}")) >= 1
)
# Line 75
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _caching-more.md >}}")) >= 1
)
# Line 114
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _jupyter-daemon.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/computations/r.qmd", {
# Line 105
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../tools/_rstudio.md >}}")) >= 1
)
# Line 109
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _positron.md >}}")) >= 1
)
# Line 123
testthat::expect_true(
length(parse_shortcodes_cpp("The VS Code extension includes a **Quarto: Preview** command that can be accessed via the Command Palette, the keyboard shortcut {{< kbd mac=Command-Shift-K win=Control-Shift-K linux=Control-Shift-K >}}, or a **Preview** button ({.light-content fig-alt=\"Preview icon\"}{.dark-content fig-alt=\"Preview icon\"}) in the editor. ")) >= 1
)
# Line 144
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../tools/_chunk-options.md >}}")) >= 1
)
# Line 198
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _knitr-df-print.md >}}")) >= 1
)
# Line 200
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _knitr-options.md >}}")) >= 1
)
# Line 228
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _caching-more.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/computations/render-scripts.qmd", {
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.4.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/dashboards/data-display.qmd", {
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.4.qmd >}}")) >= 1
)
# Line 64
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _plots-raster.md >}}")) >= 1
)
# Line 137
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _plots-interactive.md >}}")) >= 1
)
# Line 358
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _valuebox-colors.md >}}")) >= 1
)
# Line 509
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _dynamic-title.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/dashboards/deployment.qmd", {
# Line 16
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/publishing/_providers.md >}}")) >= 1
)
# Line 40
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include interactivity/shiny-python/_shiny-deployment.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/dashboards/index.qmd", {
# Line 15
testthat::expect_true(
length(parse_shortcodes_cpp(" window[\"quarto-prerelease-mode\"] = '{{< meta prerelease-mode >}}';")) >= 1
)
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.4.qmd >}}")) >= 1
)
# Line 124
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../download/_download.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/dashboards/interactivity/shiny-python/index.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.4.qmd >}}")) >= 1
)
# Line 21
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _shiny-requirements.qmd >}}")) >= 1
)
# Line 27
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _shiny-sidebar.md >}}")) >= 1
)
# Line 126
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _shiny-advanced.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/dashboards/interactivity/shiny-python/running.qmd", {
# Line 16
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _shiny-requirements.qmd >}}")) >= 1
)
# Line 44
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _shiny-deployment.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/dashboards/interactivity/shiny-r.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.4.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/dashboards/layout.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.4.qmd >}}")) >= 1
)
# Line 373
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _dynamic-title.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/dashboards/parameters.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/computations/_parameters.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/dashboards/theming.qmd", {
# Line 17
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/output-formats/_theme-list.md >}}")) >= 1
)
# Line 29
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/output-formats/_theme-options.md >}}")) >= 1
)
# Line 31
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/output-formats/_theme-custom.md >}}")) >= 1
)
# Line 33
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/output-formats/_theme-variables.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/download/changelog/1.1/index.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _changelog.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/download/changelog/1.2/index.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _changelog.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/download/changelog/1.3/index.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _changelog.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/download/changelog/1.4/index.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _changelog.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/download/changelog/1.5/index.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _changelog.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/download/changelog/1.6/index.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _changelog.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/download/index.qmd", {
# Line 14
testthat::expect_true(
length(parse_shortcodes_cpp(" window[\"quarto-prerelease-mode\"] = '{{< meta prerelease-mode >}}';")) >= 1
)
# Line 47
testthat::expect_true(
length(parse_shortcodes_cpp("## **{{< meta prerelease-title >}}** --- v[]{.download-pre-version}")) >= 1
)
# Line 49
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _download-pre.md >}}")) >= 1
)
# Line 54
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _download.md >}}")) >= 1
)
# Line 74
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _download.md >}}")) >= 1
)
# Line 76
testthat::expect_true(
length(parse_shortcodes_cpp("## **{{< meta prerelease-title >}}** --- v[]{.download-pre-version}")) >= 1
)
# Line 78
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _download-pre.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/download/prerelease.qmd", {
# Line 2
testthat::expect_true(
length(parse_shortcodes_cpp("title: \"{{< meta prerelease-title >}} Builds\"")) >= 1
)
# Line 3
testthat::expect_true(
length(parse_shortcodes_cpp("subtitle: \"Install a {{< meta prerelease-lower >}} build of Quarto.\"")) >= 1
)
# Line 13
testthat::expect_true(
length(parse_shortcodes_cpp(" window[\"quarto-prerelease-mode\"] = '{{< meta prerelease-mode >}}';")) >= 1
)
# Line 32
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _download-pre.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/download/release.qmd", {
# Line 23
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _download.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/extensions/_formats-common.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("If you have a GitHub repository containing the files enumerated above in the `{{< meta example-format >}}` example, users could install your extension and associated template as follows (where `{{< meta example-org >}}` is the GitHub organization hosting the repo):")) >= 1
)
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("quarto use template {{< meta example-org >}}/{{< meta example-format >}}")) >= 1
)
# Line 18
testthat::expect_true(
length(parse_shortcodes_cpp("quarto add {{< meta example-org >}}/{{< meta example-format >}}")) >= 1
)
# Line 78
testthat::expect_true(
length(parse_shortcodes_cpp("For example, here we want to make the [fancy-text](https://github.com/quarto-ext/fancy-text) extension (which provides special formatting for the words {{< latex >}} and {{< bibtex >}}) available for users of the [jss](https://github.com/quarto-journals/jss) custom format:")) >= 1
)
})
test_that("examples/quarto-web/docs/extensions/_listing-preamble.qmd", {
# Line 2
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _extension-version.qmd >}}")) >= 1
)
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _listing-chooser.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/extensions/creating.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _extension-version.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/extensions/distributing.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _extension-version.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/extensions/filters.qmd", {
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _extension-version.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/extensions/formats.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _extension-version.qmd >}}")) >= 1
)
# Line 204
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _formats-common.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/extensions/index.qmd", {
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _listing-preamble.qmd >}}")) >= 1
)
# Line 17
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _listing-footer.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/extensions/listing-filters.qmd", {
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _listing-preamble.qmd >}}")) >= 1
)
# Line 17
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _listing-footer.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/extensions/listing-formats.qmd", {
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _listing-preamble.qmd >}}")) >= 1
)
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _listing-footer.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/extensions/listing-journals.qmd", {
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _listing-preamble.qmd >}}")) >= 1
)
# Line 17
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _listing-footer.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/extensions/listing-revealjs.qmd", {
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _listing-preamble.qmd >}}")) >= 1
)
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _listing-footer.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/extensions/lua-api.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _extension-version.qmd >}}")) >= 1
)
# Line 84
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../authoring/_format-aliases.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/extensions/lua.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _extension-version.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/extensions/managing.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _extension-version.qmd >}}")) >= 1
)
# Line 21
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _extension-trust.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/extensions/project-types.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _extension-version.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/extensions/revealjs.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _extension-version.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/extensions/shortcodes.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _extension-version.qmd >}}")) >= 1
)
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/authoring/_shortcodes.qmd >}}")) >= 1
)
# Line 62
testthat::expect_true(
length(parse_shortcodes_cpp("{{< shorty >}}")) >= 1
)
# Line 224
testthat::expect_true(
length(parse_shortcodes_cpp("{{< git-rev >}}")) >= 1
)
# Line 225
testthat::expect_true(
length(parse_shortcodes_cpp("{{< git-rev short=true >}}")) >= 1
)
# Line 272
testthat::expect_true(
length(parse_shortcodes_cpp("{{< git-rev >}}")) >= 1
)
# Line 306
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _shortcode-escaping.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/extensions/starter-templates.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _extension-version.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/faq/rmarkdown.qmd", {
# Line 95
testthat::expect_true(
length(parse_shortcodes_cpp("Yes! You need to use RStudio {{< var rstudio.min_version >}} or a later version, which includes support for [editing and preview of Quarto documents](/docs/tools/rstudio.qmd).")) >= 1
)
})
test_that("examples/quarto-web/docs/get-started/authoring/jupyter.qmd", {
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_tool-chooser.md >}}")) >= 1
)
# Line 437
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _footer.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/get-started/authoring/neovim.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_tool-chooser.md >}}")) >= 1
)
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _text-editor.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/get-started/authoring/positron.qmd", {
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_tool-chooser.md >}}")) >= 1
)
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_language-chooser.md >}}")) >= 1
)
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _text-editor.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/get-started/authoring/rstudio.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_tool-chooser.md >}}")) >= 1
)
# Line 64
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _install-tinytex.md >}}")) >= 1
)
# Line 429
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _footer.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/get-started/authoring/text-editor.qmd", {
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_tool-chooser.md >}}")) >= 1
)
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _text-editor.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/get-started/authoring/vscode.qmd", {
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_tool-chooser.md >}}")) >= 1
)
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _text-editor.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/get-started/computations/jupyter.qmd", {
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_tool-chooser.md >}}")) >= 1
)
# Line 307
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _footer.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/get-started/computations/neovim.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _text-editor.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/get-started/computations/positron.qmd", {
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_tool-chooser.md >}}")) >= 1
)
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_language-chooser.md >}}")) >= 1
)
# Line 34
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _positron/setup.md >}}")) >= 1
)
# Line 40
testthat::expect_true(
length(parse_shortcodes_cpp("Click the button, run the command **Quarto: Run Cell**, or use the shortcut {{< kbd mac=Cmd-Shift-Enter win=Ctrl+Shift+Enter linux=Ctrl+Shift+Enter >}}, to execute the current cell in the Console:")) >= 1
)
# Line 58
testthat::expect_true(
length(parse_shortcodes_cpp("| Run Cell | {{< kbd mac=Cmd-Shift-Enter win=Ctrl+Shift+Enter linux=Ctrl+Shift+Enter >}} |")) >= 1
)
# Line 59
testthat::expect_true(
length(parse_shortcodes_cpp("| Run Current Code | {{< kbd mac=Cmd-Enter win=Ctrl+Enter linux=Ctrl+Enter >}} |")) >= 1
)
# Line 60
testthat::expect_true(
length(parse_shortcodes_cpp("| Run Next Cell | {{< kbd mac=Cmd-Option-N win=Ctrl+Alt+N linux=Ctrl+Alt+N >}} |")) >= 1
)
# Line 61
testthat::expect_true(
length(parse_shortcodes_cpp("| Run Previous Cell | {{< kbd mac=Cmd-Option-P win=Ctrl+Alt+P linux=Ctrl+Alt+P >}} |")) >= 1
)
# Line 62
testthat::expect_true(
length(parse_shortcodes_cpp("| Run Cells Above | {{< kbd mac=Cmd-Option-Shift-P win=Ctrl+Alt+Shift+P linux=Ctrl+Alt+Shift+P >}} |")) >= 1
)
# Line 63
testthat::expect_true(
length(parse_shortcodes_cpp("| Run Cells Below | {{< kbd mac=Cmd-Option-Shift-N win=Ctrl+Alt+Shift+N linux=Ctrl+Alt+Shift+N >}} |")) >= 1
)
# Line 64
testthat::expect_true(
length(parse_shortcodes_cpp("| Run All Cells | {{< kbd mac=Cmd-Option-R win=Ctrl+Alt+R linux=Ctrl+Alt+R >}} |")) >= 1
)
# Line 71
testthat::expect_true(
length(parse_shortcodes_cpp("is to restart your Console ({{< kbd mac=Cmd-Shift-0 win=Ctrl+Shift+0 linux=Ctrl+Shift+0 >}}), and **Quarto: Run All Cells** ({{< kbd mac=Cmd-Option-R win=Ctrl+Alt+R linux=Ctrl+Alt+R >}}). ")) >= 1
)
# Line 377
testthat::expect_true(
length(parse_shortcodes_cpp("You can add a new code cell by running the command **Quarto: Insert Code Cell**, using the keyboard shortcut {{< kbd mac=Cmd-Shift-I win=Ctrl+Shift+I linux=Ctrl+Shift+I >}}, or using the **Insert Code Cell** button in the editor toolbar.")) >= 1
)
# Line 403
testthat::expect_true(
length(parse_shortcodes_cpp("To get help with code cell options, start by writing the code cell option comment (`#| `), then hit {{< kbd mac=Ctrl-Space win=Ctrl+Space linux=Ctrl+Space >}} to bring up a list of completions. ")) >= 1
)
# Line 405
testthat::expect_true(
length(parse_shortcodes_cpp("When you find the option you want, hit {{< kbd mac=Enter win=Enter linux=Enter >}} to insert it into your code cell.")) >= 1
)
# Line 546
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _footer.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/get-started/computations/rstudio.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_tool-chooser.md >}}")) >= 1
)
# Line 28
testthat::expect_true(
length(parse_shortcodes_cpp("Note that you will need to open this document in RStudio {{< var rstudio.min_version >}} or later, which you can download [here](https://posit.co/download/rstudio-desktop/).")) >= 1
)
# Line 232
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../../computations/_knitr-df-print.md >}}")) >= 1
)
# Line 308
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _footer.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/get-started/computations/text-editor.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _text-editor.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/get-started/computations/vscode.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_tool-chooser.md >}}")) >= 1
)
# Line 292
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _footer.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/get-started/hello/jupyter.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_tool-chooser.md >}}")) >= 1
)
# Line 228
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _footer.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/get-started/hello/neovim.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_tool-chooser.md >}}")) >= 1
)
# Line 35
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video https://youtu.be/3sj7clNowlA >}}")) >= 1
)
# Line 143
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _neovim-running-cells.md >}}")) >= 1
)
# Line 225
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _footer.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/get-started/hello/positron.qmd", {
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_tool-chooser.md >}}")) >= 1
)
# Line 14
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_language-chooser.md >}}")) >= 1
)
# Line 53
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _positron/setup.md >}}")) >= 1
)
# Line 72
testthat::expect_true(
length(parse_shortcodes_cpp("You can alternatively use the keyboard shortcut {{< kbd mac=Command-Shift-K win=Ctrl+Shift+K linux=Ctrl+Shift+K >}}, or the **Preview** button ({.light-content fig-alt=\"Preview icon\"}{.dark-content fig-alt=\"Preview icon\"}) in the editor toolbar:")) >= 1
)
# Line 201
testthat::expect_true(
length(parse_shortcodes_cpp("Use the command: **Quarto: Run Cell**, the keyboard shortcut ({{< kbd mac=Command-Shift-Enter win=Control+Shift+Enter linux=Control+Shift+Enter >}}), or click Run Cell directly above the cell in the Editor. ")) >= 1
)
# Line 281
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _footer.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/get-started/hello/rstudio.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_tool-chooser.md >}}")) >= 1
)
# Line 29
testthat::expect_true(
length(parse_shortcodes_cpp("{{< video \"https://www.youtube.com/embed/_f3latmOhew\" >}}")) >= 1
)
# Line 146
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _footer.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/get-started/hello/text-editor.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_tool-chooser.md >}}")) >= 1
)
# Line 222
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _footer.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/get-started/hello/vscode.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_tool-chooser.md >}}")) >= 1
)
# Line 240
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _footer.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/get-started/index.qmd", {
# Line 16
testthat::expect_true(
length(parse_shortcodes_cpp(" window[\"quarto-prerelease-mode\"] = '{{< meta prerelease-mode >}}';")) >= 1
)
# Line 39
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../download/_download-pre.md >}}")) >= 1
)
# Line 45
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../download/_download.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/interactive/shiny/running.qmd", {
# Line 23
testthat::expect_true(
length(parse_shortcodes_cpp("Note that you need RStudio {{< var rstudio.min_version >}} or a later version in order to run Quarto interactive documents. You can download the latest release at .")) >= 1
)
})
test_that("examples/quarto-web/docs/journals/authors.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../extensions/_extension-version.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/journals/formats.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../extensions/_extension-version.qmd >}}")) >= 1
)
# Line 256
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../extensions/_formats-common.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/journals/templates.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../extensions/_extension-version.qmd >}}")) >= 1
)
# Line 101
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/journals/_about-latex-beamer-partials.md >}}")) >= 1
)
# Line 117
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/journals/_about-latex-beamer-partials.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/_authoring-content.qmd", {
# Line 1
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_tool-chooser.md >}}")) >= 1
)
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _overview.qmd >}}")) >= 1
)
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _setup.qmd >}}")) >= 1
)
# Line 13
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _files.qmd >}}")) >= 1
)
# Line 18
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _workflow-ipynb.qmd >}}")) >= 1
)
# Line 22
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _workflow-qmd.qmd >}}")) >= 1
)
# Line 28
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _visual-editor.qmd >}}")) >= 1
)
# Line 34
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _structure.qmd >}}")) >= 1
)
# Line 38
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _front-matter.qmd >}}")) >= 1
)
# Line 42
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _markdown.qmd >}}")) >= 1
)
# Line 46
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _inline-computations.qmd >}}")) >= 1
)
# Line 50
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _citations.qmd >}}")) >= 1
)
# Line 54
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _cross-refs.qmd >}}")) >= 1
)
# Line 58
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _equations.qmd >}}")) >= 1
)
# Line 62
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _tables.qmd >}}")) >= 1
)
# Line 66
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _figures.qmd >}}")) >= 1
)
# Line 71
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _embeds-ipynb.qmd >}}")) >= 1
)
# Line 75
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _embeds-qmd.qmd >}}")) >= 1
)
# Line 80
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _footer.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/_citations.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("To add citations you need a bibliography file, `.bib`, containing the citation data. You can specify this file in the document YAML with the `bibliography` option. For example, the citation data for `{{< meta tool.article-file >}}` is stored in `references.bib`:")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/_cross-refs.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("When rendered, cross references include a word to indicate the type of object being referenced, like \"Figure\" or \"Table\". So for instance, this line in `{{< meta tool.article-file >}}`:")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/_embeds-ipynb.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed notebooks/data-screening.ipynb#fig-spatial-plot >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/_embeds-qmd.qmd", {
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("An alternative to including computations directly in the article notebook is to embed output from other notebooks. This manuscript project includes the notebook `{{< meta tool.notebook-file >}}` in the `notebooks/` folder.")) >= 1
)
# Line 14
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed notebooks/explore-earthquakes.qmd#fig-spatial-plot >}}")) >= 1
)
# Line 20
testthat::expect_true(
length(parse_shortcodes_cpp("{{< embed notebooks/data-screening.qmd#fig-spatial-plot >}}")) >= 1
)
# Line 24
testthat::expect_true(
length(parse_shortcodes_cpp("The double curly braces (`{{`) and angle brackets (`<`) indicate this is a shortcode. The `embed` shortcode requires a path to a notebook chunk. In this case, it's the file path to a source notebook, `{{< meta tool.notebook-file >}}`, followed by `#` and a chunk label. The chunk label is set using the Quarto chunk option `label` in `{{< meta tool.notebook-file >}}` notebook:")) >= 1
)
# Line 64
testthat::expect_true(
length(parse_shortcodes_cpp("Whenever you change the content of `{{< meta tool.notebook-file >}}`, including updating chunk options like the caption, it will be re-rendered. ")) >= 1
)
# Line 65
testthat::expect_true(
length(parse_shortcodes_cpp("Consequently, the code in `{{< meta tool.notebook-file >}}` will also be re-run.")) >= 1
)
# Line 83
testthat::expect_true(
length(parse_shortcodes_cpp("processing file: {{< meta tool.notebook-file >}}")) >= 1
)
# Line 84
testthat::expect_true(
length(parse_shortcodes_cpp(" output file: {{< meta tool.notebook-file >}}")) >= 1
)
# Line 86
testthat::expect_true(
length(parse_shortcodes_cpp("Rendering output notebook [notebooks/{{< meta tool.notebook-file >}}]")) >= 1
)
# Line 87
testthat::expect_true(
length(parse_shortcodes_cpp("Rendering HTML preview [notebooks/{{< meta tool.notebook-file >}}]")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/_equations.qmd", {
# Line 1
testthat::expect_true(
length(parse_shortcodes_cpp("Quarto markdown can include equations specified in LaTeX notation. Use single dollar signs (`$`) to add an equation inline or double dollar signs (`$$`) to add a display equation. Both of these are illustrated in the following paragraph in `{{< meta tool.article-file >}}`:")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/_figures.qmd", {
# Line 16
testthat::expect_true(
length(parse_shortcodes_cpp("You don't have to store your images in a folder called `images/`, although it is a common convention. Your images can be anywhere **inside** your manuscript project directory, just make sure you include the full path to the image, relative to the location of `{{< meta tool.article-file >}}`.")) >= 1
)
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("The actual markdown in `{{< meta tool.article-file >}}` includes a further attribute, `#fig-map` inside curly braces following the image path to provide a label for cross references:")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/_files.qmd", {
# Line 3
testthat::expect_true(
length(parse_shortcodes_cpp("- A notebook file where you write your article: `{{< meta tool.article-file >}}`. This file contains:")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/_footer.qmd", {
# Line 1
testthat::expect_true(
length(parse_shortcodes_cpp("You've now covered the main features of Quarto for authoring a manuscript. You've edited `{{< meta tool.article-file >}}`, added resources like figures, notebooks or bibliographic data, and previewed the result.")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/_front-matter.qmd", {
# Line 4
testthat::expect_true(
length(parse_shortcodes_cpp("## Expand to see full YAML header for `{{< meta tool.article-file >}}`")) >= 1
)
# Line 44
testthat::expect_true(
length(parse_shortcodes_cpp("For example, at the top level the header in `{{< meta tool.article-file >}}` sets the following keys: `title`, `author`, `keywords`, `abstract`, `plain-language-summary`, `key-points`, `date`, `bibliography`, `citation`, and `number-sections`.")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/_inline-computations.qmd", {
# Line 23
testthat::expect_true(
length(parse_shortcodes_cpp("For example, `{{< meta tool.article-file >}}`, includes:")) >= 1
)
# Line 94
testthat::expect_true(
length(parse_shortcodes_cpp("The `echo` option describes whether the code is included in the rendered article. If you make this change and save `{{< meta tool.article-file >}}`, you'll see this code now appears in the article.")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/_overview.qmd", {
# Line 1
testthat::expect_true(
length(parse_shortcodes_cpp("On this page, we'll show you how to author an academic manuscript with Quarto in {{< meta tool.name >}}. You'll learn how to:")) >= 1
)
# Line 3
testthat::expect_true(
length(parse_shortcodes_cpp("- Preview your manuscript using {{< meta tool.name >}}.")) >= 1
)
# Line 49
testthat::expect_true(
length(parse_shortcodes_cpp("- are comfortable using {{< meta tool.name >}} to open and edit files,")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/_setup.qmd", {
# Line 22
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/tools/_jupyter-lab-extension-install.qmd >}}")) >= 1
)
# Line 44
testthat::expect_true(
length(parse_shortcodes_cpp("To follow this tutorial you'll need your own copy of the [template repository]({{< meta tool.template-repo >}}), including all of its branches.")) >= 1
)
# Line 46
testthat::expect_true(
length(parse_shortcodes_cpp("1. Head to [GitHub to create a new repository from the template]({{< meta tool.template-repo >}}/generate).")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/_tables.qmd", {
# Line 1
testthat::expect_true(
length(parse_shortcodes_cpp("Tables can be added inline with what is known as pipe syntax. As an example, in `{{< meta tool.article-file >}}` a table of earthquakes is specified as:")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/_visual-editor.qmd", {
# Line 1
testthat::expect_true(
length(parse_shortcodes_cpp("The {{< meta tool.name >}} visual editor provides a [WYSIWYM](https://en.wikipedia.org/wiki/WYSIWYM) editing interface for Quarto notebooks. Some tasks, like adding citations, or creating tables, are easier in the visual editor - we'll point these out as we introduce them.")) >= 1
)
# Line 20
testthat::expect_true(
length(parse_shortcodes_cpp("To toggle between source and visual editor modes, toggle the \"Source\" and \"Visual\" menu items at the top of the Source Editor window, or use the keyboard shortcut {{< kbd mac=Shift-Command-F4 win=Shift-Control-F4 >}}.")) >= 1
)
# Line 28
testthat::expect_true(
length(parse_shortcodes_cpp("To toggle between source and visual editor modes, use the Editor menu and select \"Edit in Visual Mode\" or \"Edit in Source Mode\" mode, or use the keyboard shortcut {{< kbd mac=Shift-Command-F4 win=Shift-Control-F4 >}}.")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/_workflow-ipynb.qmd", {
# Line 1
testthat::expect_true(
length(parse_shortcodes_cpp("The basic workflow for writing a manuscript in Quarto is to make changes to your article content in `{{< meta tool.article-file >}}`, preview the changes with Quarto, and repeat. Let's try it out.")) >= 1
)
# Line 3
testthat::expect_true(
length(parse_shortcodes_cpp("Open a new Terminal in {{< meta tool.name >}} and run:")) >= 1
)
# Line 14
testthat::expect_true(
length(parse_shortcodes_cpp("[1/1] {{< meta tool.article-file >}}")) >= 1
)
# Line 23
testthat::expect_true(
length(parse_shortcodes_cpp("You may find it helpful to move and resize your windows so that {{< meta tool.name >}} and the live preview are side by side.")) >= 1
)
# Line 27
testthat::expect_true(
length(parse_shortcodes_cpp("The contents of the article is generated by `{{< meta tool.article-file >}}`. Go ahead and open this file in {{< meta tool.name >}}. ")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/_workflow-qmd.qmd", {
# Line 1
testthat::expect_true(
length(parse_shortcodes_cpp("The basic workflow for writing a manuscript in Quarto is to make changes to your article content in `{{< meta tool.article-file >}}`, preview the changes with Quarto, and repeat. Let's try it out.")) >= 1
)
# Line 3
testthat::expect_true(
length(parse_shortcodes_cpp("Open `{{< meta tool.article-file >}}`. ")) >= 1
)
# Line 34
testthat::expect_true(
length(parse_shortcodes_cpp("You'll dive into the details of this `{{< meta tool.article-file >}}` next, but for now let's make a change and see what happens.")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/_workflow.qmd", {
# Line 1
testthat::expect_true(
length(parse_shortcodes_cpp("The basic workflow for writing a manuscript in Quarto is to make changes to your article content in `{{< meta tool.article-file >}}`, preview the changes with Quarto, and repeat. Let's try it out.")) >= 1
)
# Line 3
testthat::expect_true(
length(parse_shortcodes_cpp("Open a new Terminal in {{< meta tool.name >}} and run:")) >= 1
)
# Line 14
testthat::expect_true(
length(parse_shortcodes_cpp("[1/1] {{< meta tool.article-file >}}")) >= 1
)
# Line 23
testthat::expect_true(
length(parse_shortcodes_cpp("You may find it helpful to move and resize your windows so that {{< meta tool.name >}} and the live preview are side by side.")) >= 1
)
# Line 37
testthat::expect_true(
length(parse_shortcodes_cpp("The contents of the article is generated by `{{< meta tool.article-file >}}`. Go ahead and open this file in {{< meta tool.name >}}. ")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/jupyterlab.qmd", {
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _authoring-content.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/rstudio.qmd", {
# Line 13
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _authoring-content.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/authoring/vscode.qmd", {
# Line 13
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _authoring-content.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/components.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.4.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/manuscripts/index.qmd", {
# Line 13
testthat::expect_true(
length(parse_shortcodes_cpp(" window[\"quarto-prerelease-mode\"] = '{{< meta prerelease-mode >}}';")) >= 1
)
# Line 17
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.4.qmd >}}")) >= 1
)
# Line 62
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../download/_download.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/output-formats/_ssg-intro.qmd", {
# Line 4
testthat::expect_true(
length(parse_shortcodes_cpp("{{< meta ssg-description >}}. Pages in {{< meta ssg-name >}} websites are typically written in plain markdown, so don't have a straightforward way to automatically and reproducibly incorporate computational output.")) >= 1
)
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("Using the Quarto `{{< meta format-name >}}-md` format, you can incorporate computational output (e.g. R or Python code that produces plots) into {{< meta ssg-name >}} websites. This article explains how.")) >= 1
)
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("It's important to note that many of the Quarto features related to theming, page layout, and navigation are not applicable when you are using Quarto with {{< meta ssg-name >}}. {{< meta ssg-name >}} has its own theming system, syntax highlighting, table of contents, page layout, navigational menus, and full text search. You'll use Quarto to execute code and generate markdown that is rendered within the {{< meta ssg-name >}} HTML publishing framework rather than Quarto's own.")) >= 1
)
})
test_that("examples/quarto-web/docs/output-formats/_ssg-workflow.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("The basic concept of using Quarto with {{< meta ssg-name >}} is that you take *computational* markdown documents (`.qmd`) or Jupyter notebooks (`.ipynb`) and use them to generate plain markdown files (`.md`) that are rendered to HTML by {{< meta ssg-name >}}.")) >= 1
)
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("**index.qmd** *quarto =\\>* **index.md** *{{< meta format-name >}} =\\>* **index.html**")) >= 1
)
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("The `quarto render` and `quarto preview` commands are used to transform `.qmd` or `.ipynb` files to {{< meta ssg-name >}} compatible markdown (`.md`). The computational files are located in the same place you would also locate ordinary markdown files (e.g. the `blog` directory).")) >= 1
)
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("After rendering, a plain `.md` file is written right alongside the computational document. This markdown file is then processed by {{< meta ssg-name >}}.")) >= 1
)
# Line 15
testthat::expect_true(
length(parse_shortcodes_cpp("The `quarto preview` command will automatically recognize when it is run from a directory that contains a {{< meta ssg-name >}} website:")) >= 1
)
# Line 18
testthat::expect_true(
length(parse_shortcodes_cpp("cd my-{{< meta format-name >}}-website")) >= 1
)
# Line 22
testthat::expect_true(
length(parse_shortcodes_cpp("This will automatically run `{{< meta ssg-preview >}}` on your behalf to bring up a local preview server. In addition, it will monitor the filesystem for changes to `.qmd` and `.ipynb` inputs and automatically re-render them to {{< meta ssg-name >}} compatible `.md` files when they change.")) >= 1
)
# Line 31
testthat::expect_true(
length(parse_shortcodes_cpp("cd my-{{< meta format-name >}}-website")) >= 1
)
# Line 38
testthat::expect_true(
length(parse_shortcodes_cpp("quarto render && {{< meta ssg-build >}}")) >= 1
)
# Line 49
testthat::expect_true(
length(parse_shortcodes_cpp("Note that if aren't ever rendering at the project level and just have individual files that you want to render with Quarto, you should specify the `{{< meta format-name >}}-md` format as follows:")) >= 1
)
# Line 54
testthat::expect_true(
length(parse_shortcodes_cpp("format: {{< meta format-name >}}-md")) >= 1
)
# Line 60
testthat::expect_true(
length(parse_shortcodes_cpp("While Quarto works well within a {{< meta ssg-name >}} site that has no `_quarto.yml` project config file, you can add one if you want to customize the default behavior, add a bibliography, etc. For example, here is what a simple customized `_quarto.yml` file might look like:")) >= 1
)
# Line 64
testthat::expect_true(
length(parse_shortcodes_cpp(" type: {{< meta format-name >}}")) >= 1
)
# Line 67
testthat::expect_true(
length(parse_shortcodes_cpp(" {{< meta format-name >}}-md:")) >= 1
)
# Line 76
testthat::expect_true(
length(parse_shortcodes_cpp("It's important to note that if you do provide an explicit `_quarto.yml` file you need to explicitly specify the project type (`type: {{< meta format-name >}}`) as shown above.")) >= 1
)
# Line 80
testthat::expect_true(
length(parse_shortcodes_cpp("You might decide that you prefer to keep all of your Quarto documents and/or notebooks in their own directory, separate from the {{< meta ssg-name >}} website. In this configuration you would mirror the directory structure of your site in the Quarto directory, and then set the `output-dir` in the project file to point to the {{< meta ssg-name >}} directory. For example:")) >= 1
)
# Line 84
testthat::expect_true(
length(parse_shortcodes_cpp(" type: {{< meta format-name >}}")) >= 1
)
# Line 85
testthat::expect_true(
length(parse_shortcodes_cpp(" output-dir: ../{{< meta format-name >}}-site")) >= 1
)
})
test_that("examples/quarto-web/docs/output-formats/docusaurus.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _ssg-intro.qmd >}}")) >= 1
)
# Line 13
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _ssg-workflow.qmd >}}")) >= 1
)
# Line 135
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _webtex-detail.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/output-formats/examples/gt-temps.qmd", {
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include gt-temps.R >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/output-formats/examples/pandas-temps.qmd", {
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include pandas-temps.py >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/output-formats/gfm.qmd", {
# Line 67
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _webtex.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/output-formats/html-basics.qmd", {
# Line 68
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _document-options-section-numbering.md >}}")) >= 1
)
# Line 451
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _document-options-includes.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/output-formats/html-code.qmd", {
# Line 322
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _code-annotation.md >}}")) >= 1
)
# Line 357
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../computations/_unexecuted-blocks.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/output-formats/html-lightbox-figures.qmd", {
# Line 8
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.4.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/output-formats/html-multi-format.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_require-1.3.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/output-formats/html-themes.qmd", {
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _theme-list.md >}}")) >= 1
)
# Line 71
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _theme-options.md >}}")) >= 1
)
# Line 73
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _theme-custom.md >}}")) >= 1
)
# Line 182
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _theme-variables.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/output-formats/hugo.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _ssg-intro.qmd >}}")) >= 1
)
# Line 81
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _ssg-workflow.qmd >}}")) >= 1
)
# Line 98
testthat::expect_true(
length(parse_shortcodes_cpp("[click here]({{< ref \"foo/index.md\" >}})")) >= 1
)
# Line 105
testthat::expect_true(
length(parse_shortcodes_cpp("For more info, `[click here]({{< ref \"foo/index.md\" >}})`{=markdown}")) >= 1
)
# Line 108
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _webtex.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/output-formats/ms-word.qmd", {
# Line 25
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _document-options-begin.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/output-formats/page-layout.qmd", {
# Line 93
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_require-1.3.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/output-formats/pdf-basics.qmd", {
# Line 60
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _document-options-begin.md >}}")) >= 1
)
# Line 220
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _pdf-citations.md >}}")) >= 1
)
# Line 250
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _document-options-includes.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/output-formats/typst-custom.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.4.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/output-formats/typst.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.4.qmd >}}")) >= 1
)
# Line 123
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/output-formats/_document-options-toc.md >}}")) >= 1
)
# Line 131
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/output-formats/_document-options-section-numbering.md >}}")) >= 1
)
# Line 143
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/output-formats/_code-annotation.md >}}")) >= 1
)
# Line 147
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _typst-citations.md >}}")) >= 1
)
# Line 218
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include examples/gt-temps.R >}}")) >= 1
)
# Line 229
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include examples/pandas-temps.py >}}")) >= 1
)
# Line 307
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/output-formats/_document-options-includes.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/prerelease/1.3/ast.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.3.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/prerelease/1.3/index.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _highlights.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/prerelease/1.3/pdf.qmd", {
# Line 6
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.3.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/prerelease/1.3/tables.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.3.qmd >}}")) >= 1
)
# Line 58
testthat::expect_true(
length(parse_shortcodes_cpp(" }}\"> | ")) >= 1
)
})
test_that("examples/quarto-web/docs/prerelease/1.4/email.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.4.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/prerelease/1.4/index.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _highlights.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/prerelease/1.4/lua_changes.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.4.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/prerelease/1.5/index.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _highlights.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/prerelease/1.6/index.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _highlights.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/prerelease/1.7/_highlights.qmd", {
# Line 13
testthat::expect_true(
length(parse_shortcodes_cpp(" Rendered with Quarto {{< version >}}")) >= 1
)
# Line 16
testthat::expect_true(
length(parse_shortcodes_cpp(" Rendered with Quarto {{< version >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/prerelease/1.7/index.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _highlights.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/prerelease/1.8/index.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _highlights.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/prerelease/_highlights-prerelease.qmd", {
# Line 3
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/prerelease/1.8/_highlights.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/prerelease/_highlights-release.qmd", {
# Line 3
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/prerelease/1.7/_highlights.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/presentations/beamer.qmd", {
# Line 14
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _creating-slides.md >}}")) >= 1
)
# Line 56
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _incremental-lists.md >}}")) >= 1
)
# Line 58
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _incremental-pause.md >}}")) >= 1
)
# Line 60
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _columns.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/presentations/index.qmd", {
# Line 21
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _creating-slides.md >}}")) >= 1
)
# Line 23
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _incremental-lists.md >}}")) >= 1
)
# Line 25
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _columns.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/presentations/powerpoint.qmd", {
# Line 13
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _creating-slides.md >}}")) >= 1
)
# Line 15
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _incremental-lists.md >}}")) >= 1
)
# Line 17
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _columns.md >}}")) >= 1
)
# Line 19
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _speaker-notes.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/presentations/revealjs/advanced.qmd", {
# Line 251
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _callout-auto-stretch-scrollable.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/presentations/revealjs/demo/index.qmd", {
# Line 12
testthat::expect_true(
length(parse_shortcodes_cpp(" footer: '[https://{{< meta prerelease-subdomain >}}quarto.org](https://{{< meta prerelease-subdomain >}}quarto.org)'")) >= 1
)
# Line 46
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Syntax Highlighting](https://{{< meta prerelease-subdomain >}}quarto.org/docs/output-formats/html-code.html#highlighting)")) >= 1
)
# Line 70
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Code Animations](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/advanced.html#code-animations)")) >= 1
)
# Line 92
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Line Highlighting](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/#line-highlighting)")) >= 1
)
# Line 108
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Executable Code](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/#executable-code)")) >= 1
)
# Line 151
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [LaTeX Equations](https://{{< meta prerelease-subdomain >}}quarto.org/docs/authoring/markdown-basics.html#equations)")) >= 1
)
# Line 176
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Multiple Columns](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/#multiple-columns)")) >= 1
)
# Line 194
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Incremental Lists](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/#incremental-lists)")) >= 1
)
# Line 230
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Fragments](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/advanced.html#fragments)")) >= 1
)
# Line 240
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Slide Backgrounds](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/#color-backgrounds)")) >= 1
)
# Line 254
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Media Backgrounds](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/#image-backgrounds)")) >= 1
)
# Line 268
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Absolute Position](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/advanced.html#absolute-position)")) >= 1
)
# Line 287
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Auto-Animate](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/advanced.html#auto-animate)")) >= 1
)
# Line 306
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Auto-Animate](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/advanced.html#auto-animate)")) >= 1
)
# Line 323
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Slide Transitions](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/advanced.html#slide-transitions)")) >= 1
)
# Line 346
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Tabsets](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/#tabsets)")) >= 1
)
# Line 363
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Jupyter widgets](https://{{< meta prerelease-subdomain >}}quarto.org/docs/interactive/widgets/jupyter.html), [htmlwidgets](https://{{< meta prerelease-subdomain >}}quarto.org/docs/interactive/widgets/htmlwidgets.html)")) >= 1
)
# Line 391
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Observable](https://{{< meta prerelease-subdomain >}}quarto.org/docs/interactive/ojs/), [Shiny](https://{{< meta prerelease-subdomain >}}quarto.org/docs/interactive/shiny/), [Component Layout](https://{{< meta prerelease-subdomain >}}quarto.org/docs/interactive/layout.html)")) >= 1
)
# Line 405
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Preview Links](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/presenting.html#preview-links)")) >= 1
)
# Line 410
testthat::expect_true(
length(parse_shortcodes_cpp("10 Built-in Themes (or [create your own](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/themes.html#creating-themes))")) >= 1
)
# Line 419
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Themes](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/themes.html)")) >= 1
)
# Line 434
testthat::expect_true(
length(parse_shortcodes_cpp("You can also press {{< kbd m >}} to toggle the menu open and closed.")) >= 1
)
# Line 436
testthat::expect_true(
length(parse_shortcodes_cpp("You can also press {{< kbd g >}} to toggle 'Jump To Slide' modal box to quickly go to one of your slide using its number or id.")) >= 1
)
# Line 466
testthat::expect_true(
length(parse_shortcodes_cpp("You can also press {{< kbd b >}} to toggle the chalkboard or {{< kbd c >}} to toggle the notes canvas.")) >= 1
)
# Line 469
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Chalkboard](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/presenting.html#chalkboard)")) >= 1
)
# Line 474
testthat::expect_true(
length(parse_shortcodes_cpp("press {{< kbd o >}} to toggle overview mode:")) >= 1
)
# Line 478
testthat::expect_true(
length(parse_shortcodes_cpp("Hold down the {{< kbd Alt linux=Ctrl >}} and click on any element to zoom towards it---try it now on this slide.")) >= 1
)
# Line 481
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Overview Mode](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/presenting.html#overview-mode), [Slide Zoom](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/presenting.html#slide-zoom)")) >= 1
)
# Line 486
testthat::expect_true(
length(parse_shortcodes_cpp("press {{< kbd s >}} (or use the tools in presentation menu {style=\"padding-bottom: 1px; margin: 0\" width=\"0.5em\" height=\"0.5em\"}) to open speaker view")) >= 1
)
# Line 491
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Speaker View](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/presenting.html#speaker-view)")) >= 1
)
# Line 496
testthat::expect_true(
length(parse_shortcodes_cpp("Press {{< kbd r >}} (or use the tools in presentation menu {style=\"padding-bottom: 1px; margin: 0\" width=\"0.5em\" height=\"0.5em\"}) to open scroll view")) >= 1
)
# Line 503
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Scroll View](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/presenting.html#scroll-view)")) >= 1
)
# Line 521
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Jupyter](https://{{< meta prerelease-subdomain >}}quarto.org/docs/tools/jupyter-lab.html), [VS Code](https://{{< meta prerelease-subdomain >}}quarto.org/docs/tools/vscode.html), [Text Editors](https://{{< meta prerelease-subdomain >}}quarto.org/docs/tools/text-editors.html)")) >= 1
)
# Line 531
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [RStudio](https://{{< meta prerelease-subdomain >}}quarto.org/docs/tools/rstudio.html)")) >= 1
)
# Line 536
testthat::expect_true(
length(parse_shortcodes_cpp("- [Touch](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/advanced.html#touch-navigation) optimized (presentations look great on mobile, swipe to navigate slides)")) >= 1
)
# Line 537
testthat::expect_true(
length(parse_shortcodes_cpp("- [Footer & Logo](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/#footer-logo) (optionally specify custom footer per-slide or hide global footer)")) >= 1
)
# Line 538
testthat::expect_true(
length(parse_shortcodes_cpp("- [Auto-Slide](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/presenting.html#auto-slide) (step through slides automatically, without any user input)")) >= 1
)
# Line 539
testthat::expect_true(
length(parse_shortcodes_cpp("- [Multiplex](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/presenting.html#multiplex) (allows your audience to follow the slides of the presentation you are controlling on their own phone, tablet or laptop).")) >= 1
)
# Line 542
testthat::expect_true(
length(parse_shortcodes_cpp("Learn more: [Quarto Presentations](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/)")) >= 1
)
})
test_that("examples/quarto-web/docs/presentations/revealjs/examples/image-background.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("## Slide Title {background-color=\"black\" background-image='{{< placeholder 100 100 >}}' background-size=\"100px\" background-repeat=\"repeat\"}")) >= 1
)
})
test_that("examples/quarto-web/docs/presentations/revealjs/index.qmd", {
# Line 22
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_creating-slides-reveal.md >}}")) >= 1
)
# Line 24
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_incremental-lists-reveal.md >}}")) >= 1
)
# Line 26
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_incremental-pause-reveal.md >}}")) >= 1
)
# Line 28
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_columns-reveal.md >}}")) >= 1
)
# Line 70
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _callout-auto-stretch-scrollable.qmd >}}")) >= 1
)
# Line 72
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_speaker-notes.md >}}")) >= 1
)
# Line 84
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _theme-basics.md >}}")) >= 1
)
# Line 368
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/prerelease/1.6/_pre-release-feature.qmd >}}")) >= 1
)
# Line 405
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _background-video.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/presentations/revealjs/presenting.qmd", {
# Line 22
testthat::expect_true(
length(parse_shortcodes_cpp("You will often want to enter fullscreen mode when presenting. You can do this by pressing the {{< kbd F >}} key.")) >= 1
)
# Line 46
testthat::expect_true(
length(parse_shortcodes_cpp("You can also open the navigation menu by pressing the {{< kbd M >}} key.")) >= 1
)
# Line 81
testthat::expect_true(
length(parse_shortcodes_cpp("Note that you can still open the menu using the {{< kbd M >}} key even if the button is hidden.")) >= 1
)
# Line 85
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/prerelease/1.6/_pre-release-feature.qmd >}}")) >= 1
)
# Line 89
testthat::expect_true(
length(parse_shortcodes_cpp("- Press {{< kbd G >}} to activate")) >= 1
)
# Line 110
testthat::expect_true(
length(parse_shortcodes_cpp("You can enable Overview Mode by pressing the {{< kbd O >}} key.")) >= 1
)
# Line 115
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/prerelease/1.6/_pre-release-feature.qmd >}}")) >= 1
)
# Line 119
testthat::expect_true(
length(parse_shortcodes_cpp("Our demo presentation can be seen [in scroll view mode](https://{{< meta prerelease-subdomain >}}quarto.org/docs/presentations/revealjs/demo/?view=scroll) and below")) >= 1
)
# Line 133
testthat::expect_true(
length(parse_shortcodes_cpp("- Toggle into Scroll View using the {{< kbd R >}} key")) >= 1
)
# Line 191
testthat::expect_true(
length(parse_shortcodes_cpp("Hold down the {{< kbd Alt linux=Ctrl >}} key and click on any element to zoom towards it. Try zooming in on one of these images:")) >= 1
)
# Line 197
testthat::expect_true(
length(parse_shortcodes_cpp("{{< kbd Alt >}} or {{< kbd Ctrl >}} click again to zoom back out.")) >= 1
)
# Line 206
testthat::expect_true(
length(parse_shortcodes_cpp("You can enable Speaker View by pressing the {{< kbd S >}} key.")) >= 1
)
# Line 264
testthat::expect_true(
length(parse_shortcodes_cpp("1. Toggle into Print View using the {{< kbd E >}} key (or using the [Navigation Menu](#navigation-menu))")) >= 1
)
# Line 265
testthat::expect_true(
length(parse_shortcodes_cpp("2. Open the in-browser print dialog {{< kbd Ctrl+P win=Ctrl+P mac=Command+P >}}.")) >= 1
)
# Line 272
testthat::expect_true(
length(parse_shortcodes_cpp("If you entered print mode in the same window, you can toggle out of Print View using the same {{< kbd E >}} key, or navigate back to last slide seen using usual back button in your browser.")) >= 1
)
# Line 377
testthat::expect_true(
length(parse_shortcodes_cpp("A play/pause control element will automatically appear for auto-sliding decks. Sliding is automatically paused if the user starts interacting with the deck. It's also possible to pause or resume sliding by pressing {{< kbd A >}} on the keyboard.")) >= 1
)
# Line 467
testthat::expect_true(
length(parse_shortcodes_cpp("To toggle the notes canvas on and off use the {width=\"19\" height=\"17\"} button or the {{< kbd C >}} key.")) >= 1
)
# Line 469
testthat::expect_true(
length(parse_shortcodes_cpp("To toggle the chalkboard on and off use the {width=\"19\" height=\"20\"} button or the {{< kbd B >}} key.")) >= 1
)
# Line 475
testthat::expect_true(
length(parse_shortcodes_cpp("| Toggle notes canvas | {{< kbd C >}} |")) >= 1
)
# Line 476
testthat::expect_true(
length(parse_shortcodes_cpp("| Toggle chalkboard | {{< kbd B >}} |")) >= 1
)
# Line 477
testthat::expect_true(
length(parse_shortcodes_cpp("| Reset all drawings | {{< kbd BACKSPACE >}} |")) >= 1
)
# Line 478
testthat::expect_true(
length(parse_shortcodes_cpp("| Clear drawings on slide | {{< kbd DEL >}} |")) >= 1
)
# Line 479
testthat::expect_true(
length(parse_shortcodes_cpp("| Cycle colors forward | {{< kbd X >}} |")) >= 1
)
# Line 480
testthat::expect_true(
length(parse_shortcodes_cpp("| Cycle colors backward | {{< kbd Y >}} |")) >= 1
)
# Line 481
testthat::expect_true(
length(parse_shortcodes_cpp("| Download drawings | {{< kbd D >}} |")) >= 1
)
# Line 501
testthat::expect_true(
length(parse_shortcodes_cpp("The {{< kbd D >}} key downloads any active drawings into a JSON file. You can then restore these drawings when showing your presentation using the `src` option. For example:")) >= 1
)
# Line 528
testthat::expect_true(
length(parse_shortcodes_cpp("| `src` | Optional file name for pre-recorded drawings (download drawings using the {{< kbd D >}} key). |")) >= 1
)
})
test_that("examples/quarto-web/docs/presentations/revealjs/themes.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _theme-basics.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/projects/binder.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.4.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/projects/code-execution.qmd", {
# Line 23
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _freeze-basics.md >}}")) >= 1
)
# Line 87
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../computations/_jupyter-execute.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/projects/quarto-projects.qmd", {
# Line 196
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _render-targets.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/publishing/ci.qmd", {
# Line 65
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _netlify-ci-example.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/publishing/confluence.qmd", {
# Line 9
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_require-1.3.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/publishing/github-pages.qmd", {
# Line 86
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _ignoring-output.md >}}")) >= 1
)
# Line 118
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _cli-options.md >}}")) >= 1
)
# Line 122
testthat::expect_true(
length(parse_shortcodes_cpp("Using the `quarto publish {{< meta provider >}}` command to publish locally rendered content is the most simple and straightforward way to publish. Another option is to use [GitHub Actions](https://docs.github.com/en/actions) to render and publish your site (you might prefer this if you want execution and/or rendering to be automatically triggered from commits).")) >= 1
)
# Line 128
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _freeze-basics.md >}}")) >= 1
)
# Line 165
testthat::expect_true(
length(parse_shortcodes_cpp(" target: {{< meta provider >}}")) >= 1
)
# Line 174
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _github-action-executing-code.md >}}")) >= 1
)
# Line 266
testthat::expect_true(
length(parse_shortcodes_cpp(" target: {{< meta provider >}}")) >= 1
)
# Line 278
testthat::expect_true(
length(parse_shortcodes_cpp(" target: {{< meta provider >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/publishing/hugging-face.qmd", {
# Line 82
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../prerelease/1.5/_pre-release-feature.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/publishing/index.qmd", {
# Line 13
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _providers.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/publishing/netlify.qmd", {
# Line 25
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _publish-command.md >}}")) >= 1
)
# Line 65
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _freeze-basics.md >}}")) >= 1
)
# Line 69
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _ignoring-output.md >}}")) >= 1
)
# Line 92
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _github-action-basics.md >}}")) >= 1
)
# Line 115
testthat::expect_true(
length(parse_shortcodes_cpp(" target: {{< meta provider >}}")) >= 1
)
# Line 135
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _ignoring-output.md >}}")) >= 1
)
# Line 141
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _github-action-executing-code.md >}}")) >= 1
)
# Line 176
testthat::expect_true(
length(parse_shortcodes_cpp(" target: {{< meta provider >}}")) >= 1
)
# Line 215
testthat::expect_true(
length(parse_shortcodes_cpp(" target: {{< meta provider >}}")) >= 1
)
# Line 227
testthat::expect_true(
length(parse_shortcodes_cpp(" target: {{< meta provider >}}")) >= 1
)
# Line 238
testthat::expect_true(
length(parse_shortcodes_cpp(" target: {{< meta provider >}}")) >= 1
)
# Line 247
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _netlify-ci-example.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/publishing/posit-cloud.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/_require-1.4.qmd >}}")) >= 1
)
# Line 54
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _cli-options.md >}}")) >= 1
)
# Line 132
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _freeze-basics.md >}}")) >= 1
)
# Line 222
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _ci-execute-requirements.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/publishing/quarto-pub.qmd", {
# Line 26
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _publish-command.md >}}")) >= 1
)
# Line 106
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _github-action-basics.md >}}")) >= 1
)
# Line 129
testthat::expect_true(
length(parse_shortcodes_cpp(" target: {{< meta provider >}}")) >= 1
)
# Line 149
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _ignoring-output.md >}}")) >= 1
)
# Line 153
testthat::expect_true(
length(parse_shortcodes_cpp("Once you've specified your publishing action and {{< meta provider-name >}} credentials, and pushed your updated repository (including the `_freeze` directory) to GitHub, your action will run with this and subsequent commits, automatically rendering and publishing to {{< meta provider-name >}}.")) >= 1
)
# Line 155
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _github-action-executing-code.md >}}")) >= 1
)
# Line 159
testthat::expect_true(
length(parse_shortcodes_cpp("Here is a complete example of a GitHub Action that installs Python, Jupyter, and package dependencies from `requirements.txt`, then executes code and renders output to {{< meta provider-name >}}:")) >= 1
)
# Line 190
testthat::expect_true(
length(parse_shortcodes_cpp(" target: {{< meta provider >}}")) >= 1
)
# Line 196
testthat::expect_true(
length(parse_shortcodes_cpp("Here is a complete example of a GitHub Action that installs R and package dependencies from `renv.lock`, then executes code and renders output to {{< meta provider-name >}}:")) >= 1
)
# Line 229
testthat::expect_true(
length(parse_shortcodes_cpp(" target: {{< meta provider >}}")) >= 1
)
# Line 241
testthat::expect_true(
length(parse_shortcodes_cpp(" target: {{< meta provider >}}")) >= 1
)
# Line 252
testthat::expect_true(
length(parse_shortcodes_cpp(" target: {{< meta provider >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/publishing/rstudio-connect.qmd", {
# Line 61
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _cli-options.md >}}")) >= 1
)
# Line 180
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _freeze-basics.md >}}")) >= 1
)
# Line 270
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _ci-execute-requirements.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/reference/formats/dashboard.qmd", {
# Line 161
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include /docs/dashboards/_valuebox-colors.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/reference/projects/books.qmd", {
# Line 10
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _websites-pre.md >}}")) >= 1
)
# Line 15
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _websites.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/reference/projects/options.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _options.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/reference/projects/websites.qmd", {
# Line 11
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _websites-pre.md >}}")) >= 1
)
# Line 17
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _websites.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/tools/jupyter-lab-extension.qmd", {
# Line 16
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _jupyter-lab-extension-install.qmd >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/tools/jupyter-lab.qmd", {
# Line 108
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../computations/_jupyter-execute.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/tools/neovim.qmd", {
# Line 42
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../get-started/hello/_neovim-running-cells.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/tools/positron/index.qmd", {
# Line 27
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_code-oss-editors.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/tools/positron/notebook.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_code-oss-notebook.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/tools/positron/visual-editor.qmd", {
# Line 5
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_code-oss-visual-editor.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/tools/rstudio.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _rstudio.md >}}")) >= 1
)
# Line 22
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _chunk-options.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/tools/vscode/index.qmd", {
# Line 24
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_code-oss-editors.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/tools/vscode/notebook.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_code-oss-notebook.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/tools/vscode/visual-editor.qmd", {
# Line 7
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_code-oss-visual-editor.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/triaging/index.qmd", {
# Line 50
testthat::expect_true(
length(parse_shortcodes_cpp("{{< pagebreak >}}")) >= 1
)
# Line 116
testthat::expect_true(
length(parse_shortcodes_cpp("{{< pagebreak >}}")) >= 1
)
# Line 155
testthat::expect_true(
length(parse_shortcodes_cpp("{{< pagebreak >}}")) >= 1
)
# Line 169
testthat::expect_true(
length(parse_shortcodes_cpp("{{< pagebreak >}}")) >= 1
)
# Line 233
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
# Line 242
testthat::expect_true(
length(parse_shortcodes_cpp("{#fig-placeholder}")) >= 1
)
# Line 244
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
# Line 262
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
# Line 274
testthat::expect_true(
length(parse_shortcodes_cpp("{#fig-placeholder}")) >= 1
)
# Line 276
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
# Line 312
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
# Line 321
testthat::expect_true(
length(parse_shortcodes_cpp("{#fig-placeholder}")) >= 1
)
# Line 323
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
# Line 341
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
# Line 353
testthat::expect_true(
length(parse_shortcodes_cpp("{#fig-placeholder}")) >= 1
)
# Line 355
testthat::expect_true(
length(parse_shortcodes_cpp("{{< lipsum 1 >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/websites/website-basics.qmd", {
# Line 163
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../projects/_render-targets.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/websites/website-navigation.qmd", {
# Line 91
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../_require-1.3.qmd >}}")) >= 1
)
# Line 422
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _page-navigation.md >}}")) >= 1
)
# Line 429
testthat::expect_true(
length(parse_shortcodes_cpp("{{< meta project-type >}}:")) >= 1
)
# Line 452
testthat::expect_true(
length(parse_shortcodes_cpp("{{< meta project-type >}}:")) >= 1
)
# Line 458
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include _footer.md >}}")) >= 1
)
})
test_that("examples/quarto-web/docs/websites/website-search.qmd", {
# Line 50
testthat::expect_true(
length(parse_shortcodes_cpp("In addition to clicking on the search UI, users can activate search using the keyboard shortcuts {{< kbd s >}}, {{< kbd f >}} or {{< kbd / >}}. You can override these shortcuts by specifying the `keyboard-shortcut` option. In this example, search will be activated with {{< kbd ? >}} or {{< kbd H >}}:")) >= 1
)
})
test_that("examples/quarto-web/docs/websites/website-tools.qmd", {
# Line 67
testthat::expect_true(
length(parse_shortcodes_cpp("{{< include ../books/_book-vs-website-key.qmd >}}")) >= 1
)
})