How to remove the word chapter from the chapter headings

bookdown, r

Solution

If you started with the bookdown-demo repo, the chapter name was defined in `_bookdown.yml`. You can set it to an empty string or remove it. The relevant doc is in the bookdown book.

Problem

I define a chapter heading of ``` --- title: "Example" author: "me" date: "`r Sys.Date()`" site: bookdown::bookdown_site output: bookdown::gitbook documentclass: book --- # Introduction ``` Which then renders as: Chapter 1 Introduction But I would like it to read: 1 Introduction How can I remove the word 'Chapter' from the headings?

Original source