Skip to content
Discussion options

You must be logged in to vote

An uglier "hack" for HTML: # [Preface]{style="display: none;"} {.unnumbered .unlisted}

Doing: # Preface {.unnumbered .unlisted style="display: none;"} would make the whole section not appear at all.

edit: or a bit better:

---
include-in-header:
  - text: |
      <style>
      h1.unlisted {
        display: none;
      }
      </style>
---

# Preface {.unnumbered .unlisted}

This is a Quarto book.

To learn more about Quarto books visit <https://quarto.org/docs/books>.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
4 replies
@roaldarbol
Comment options

@mcanouil
Comment options

@cderv
Comment options

@cderv
Comment options

Comment options

You must be logged in to vote
6 replies
@mcanouil
Comment options

@roaldarbol
Comment options

@mcanouil
Comment options

Answer selected by roaldarbol
@mcanouil
Comment options

@roaldarbol
Comment options

@mcanouil
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
books latex LaTeX engines related libraries and technologies
3 participants