Compare footnote section.

This commit is contained in:
Tom Alexander
2023-10-02 10:48:34 -04:00
parent d78ce10a0b
commit 178894680b
6 changed files with 46 additions and 3 deletions

View File

@@ -27,6 +27,11 @@ pub struct GlobalSettings<'g, 's> {
///
/// Corresponds to org-odd-levels-only elisp variable.
pub odd_levels_only: HeadlineLevelFilter,
/// If a headline title matches this string exactly, then that section will become a "footnote section".
///
/// Corresponds to org-footnote-section elisp variable.
pub footnote_section: &'g str,
}
pub const DEFAULT_TAB_WIDTH: IndentationLevel = 8;
@@ -43,6 +48,7 @@ impl<'g, 's> GlobalSettings<'g, 's> {
list_allow_alphabetical: false,
tab_width: DEFAULT_TAB_WIDTH,
odd_levels_only: HeadlineLevelFilter::default(),
footnote_section: "Footnotes",
}
}
}