This commit is contained in:
Tom Alexander
2023-10-05 02:26:11 -04:00
parent ef8a6884fe
commit e21701b97c
2 changed files with 3 additions and 13 deletions

View File

@@ -269,6 +269,9 @@ impl<'s> Comment<'s> {
}
impl<'s> ExportBlock<'s> {
/// Gets the export type capitalized.
///
/// Upstream Emacs Org-mode capitalizes the export type.
pub fn get_export_type(&self) -> Option<String> {
self.export_type.map(|s| s.to_uppercase())
}