Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot hide the title slide #535

Open
gkroon opened this issue Jul 17, 2024 · 2 comments
Open

Cannot hide the title slide #535

gkroon opened this issue Jul 17, 2024 · 2 comments

Comments

@gkroon
Copy link

gkroon commented Jul 17, 2024

Hi, I cannot seem to hide the title slide using the following code:

= This slide and its title are still shown
:notitle:
:revealjsdir: https://cdn.jsdelivr.net/npm/[email protected]

[%notitle]
== This slide is shown and its title is hidden, as expected

Lorem ipsum

When rendered, it still shows the title slide, even when setting :notitle: as shown above.

I'm using the following environment:

$ asciidoctor-revealjs -v
Asciidoctor reveal.js 5.1.0 using Asciidoctor 2.0.23 [https://asciidoctor.org]
Runtime Environment (ruby 3.0.6p216 (2023-03-30 revision 23a532679b) [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)

I've also tried downgrading the version in my :revealjsdir: to all known versions between 4.0.0 and 5.1.0, but the title slide is shown in every version. I therefore suspect this is an issue with asciidoctor-revealjs.

@jtama
Copy link
Collaborator

jtama commented Dec 18, 2024

Hi,
You can always add a custom css:

= This slide and its title are still shown
:customcss: css/custom.css
:revealjsdir: https://cdn.jsdelivr.net/npm/[email protected]

[%notitle]
== This slide is shown and its title is hidden, as expected

Lorem ipsum

with the following :

.reveal {
        h1 {
            display: none;
       }
}

@jtama
Copy link
Collaborator

jtama commented Dec 18, 2024

Yo can also follow #182

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants