pub struct Style { /* private fields */ }
Expand description
Typesetting style configuration for documents.
This contains settings that affect how the document abstract syntax tree is modified during typesetting.
Implementations§
source§impl Style
impl Style
sourcepub fn links_as_notes(&self) -> bool
pub fn links_as_notes(&self) -> bool
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, a paged media like PDF would use footnotes.
sourcepub fn typeset_links_as_notes(&mut self)
pub fn typeset_links_as_notes(&mut self)
Make links be typeset as notes.
Default is that they are typeset as links. This can’t be unset.