如何从章节标题中删除章节
How to remove the word chapter from the chapter headings
我定义了一个章节标题
---
title: "Example"
author: "me"
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
output: bookdown::gitbook
documentclass: book
---
# Introduction
然后呈现为:
第一章简介
但我希望它是:
1 简介
如何从标题中删除 'Chapter' 一词?
如果您从 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 开始。
我定义了一个章节标题
---
title: "Example"
author: "me"
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
output: bookdown::gitbook
documentclass: book
---
# Introduction
然后呈现为: 第一章简介
但我希望它是: 1 简介
如何从标题中删除 'Chapter' 一词?
如果您从 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 开始。