summary refs log tree commit diff stats
path: root/src/constants.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-29 11:48:59 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-29 11:49:13 +0200
commit800ffaf658c3defe165dd24c3ecd65ceabc7096a (patch)
treeb9b2e44ac8a73efecdba3ac65be4ebb0dd20e239 /src/constants.rs
parentfix(MangledName): Also replace `"` and `'` (diff)
downloadlpm-800ffaf658c3defe165dd24c3ecd65ceabc7096a.tar.gz
lpm-800ffaf658c3defe165dd24c3ecd65ceabc7096a.zip
feat(new/figure)!: Init
BREAKING CHANGE: The config file now needs to contain an
                 `templates.figure` key. You can simply add this.
Diffstat (limited to '')
-rw-r--r--src/constants.rs12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/constants.rs b/src/constants.rs
index 6536f63..7c23a09 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -1,8 +1,12 @@
 pub const REPLACEMENT_CHAPTER: &str = "lpm::new_chapter_name";
+pub const REPLACEMENT_FIGURE: &str = "lpm::new_figure_name";
+pub const REPLACMENT_SECTION: &str = "lpm::new_section_name";
 
-pub const REPLACEMENT_CHAPTER_SECTION: &str = "lpm::current_chapter_name::title_case";
-pub const REPLACMENT_SECTION_TITLE: &str = "lpm::new_section_name";
 pub const DATE: &str = "lpm::current_date";
 
-pub const NEXT_CHAPTER: &str = "% lpm::next_chapter_marker";
-pub const NEXT_CHAPTER_INCLUDE_ONLY: &str = "% lpm::next_chapter_includeonly_marker";
+pub const REPLACEMENT_CHAPTER_SECTION: &str = "lpm::current_chapter_name::title_case";
+
+pub mod marker {
+    pub const NEXT_CHAPTER: &str = "% lpm::next_chapter_marker";
+    pub const NEXT_CHAPTER_INCLUDE_ONLY: &str = "% lpm::next_chapter_includeonly_marker";
+}