blob: de8adabda7291f8ab0c7aca01fe1294efc783f39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/// Typesetting style configuration for documents.
///
/// This contains settings that affect how the document abstract
/// syntax tree is modified during typesetting.
#[derive(Clone, Debug, Default)]
pub struct Style {
/// Should hyperlinks in the document be rendered as footnotes or endnotes?
///
/// A link is like the HTML `<a>` element. The choice of footnote
/// versus endnote is made by the typesetting backend. HTML uses
/// endnotes, PDF uses footnotes.
pub links_as_notes: bool,
}
|