爱爱quarto。发育得这么好!再次感谢。我正在使用书籍输出格式,它看起来很棒。不过,我知道它将使用的屏幕尺寸,并且非常希望主要内容 (id= quarto-document-content) 更宽,将目录推到屏幕右侧。我该怎么做?类似的东西(只是近似的例子)
非常感谢!
现在,在 quarto 1.3(请参阅预发行版)中可以使用网格自定义实现这一点。默认值为
这是一个大约包含您所寻找内容的示例:
project:
type: book
book:
title: "Test Book"
author: "XYZ"
date: today
chapters:
- index.qmd
- intro.qmd
- summary.qmd
- references.qmd
format:
html:
grid:
sidebar-width: 200px
body-width: 1030px
margin-width: 70px
Run Code Online (Sandbox Code Playgroud)