Support reading category from in-buffer-settings.

This commit is contained in:
Tom Alexander
2023-09-30 00:14:26 -04:00
parent 896250836b
commit 846a8b3729
3 changed files with 12 additions and 1 deletions

View File

@@ -191,7 +191,7 @@ fn _document<'b, 'g, 'r, 's>(
remaining,
Document {
source: source.into(),
category: None,
category: context.get_global_settings().category.clone(),
path: None,
zeroth_section,
children,