-
Notifications
You must be signed in to change notification settings - Fork 383
Description
Bug description
I want a revealJS presentation with no title slide. Removing the title and author info from the yaml header works but not if there is python code in there. The problem does not occur when I change the python code with R.
Steps to reproduce
---
format:
revealjs:
engine: jupyter
editor: source
---
## {.center}
::: columns
::: {.column width="65%"}
[**Title: Can't remove title slide after adding python**]{style="color:teal"}
[A headache]{style="color:gray"}
:::
::: {.column .left width="35%"}
**Author's Name**
Affiliation
:::
:::
<!-- <div class="vl"></div> -->
## Python slide
```{python}
print(2+2)
```
Expected behavior
The second slide should be the first one:
Actual behavior
There is a spurious title slide with {.center} in the middle.
This evidently comes from my second slide. If I remove that, then 'Python Slide' becomes the title i.e. this:
---
format:
revealjs:
engine: jupyter
editor: source
---
##
:::: columns
::: {.column width="65%"}
[**Title: Can't remove title slide after adding python**]{style="color:teal"}
[A headache]{style="color:gray"}
:::
::: {.column .left width="35%"}
**Author's Name**
Affiliation
:::
::::
<!-- <div class="vl"></div> -->
## Python slide
```{python}
print(2+2)
```
gives the following title slide:
Your environment
Version: 1.77.1
Commit: b7886d7461186a5eac768481578c1d7ca80e2d21
Date: 2023-04-04T23:20:37.202Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: 10.2.154.26-electron.0
OS: Linux x64 5.15.0-69-generic
Sandboxed: No
Quarto check output
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.1: OK
Dart Sass version 1.55.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.3.450
Path: /opt/quarto/bin
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.9.13
Path: /home/fes33/Documents/GIK - R&D/Personal - Papers and Reports/10 - Thesis/_Presentation/env/bin/python
Jupyter: 5.5.0
Kernels: python3, julia-1.9
[✓] Checking Jupyter engine render....OK
[✓] Checking R installation...........OK
Version: 4.1.2
Path: /usr/lib/R
LibPaths:
- /home/fes33/R/x86_64-pc-linux-gnu-library/4.1
- /usr/local/lib/R/site-library
- /usr/lib/R/site-library
- /usr/lib/R/library
knitr: 1.43
rmarkdown: 2.22
[✓] Checking Knitr engine render......OK