diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-09-29 11:48:59 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-09-29 11:49:13 +0200 |
commit | 800ffaf658c3defe165dd24c3ecd65ceabc7096a (patch) | |
tree | b9b2e44ac8a73efecdba3ac65be4ebb0dd20e239 /src/constants.rs | |
parent | fix(MangledName): Also replace `"` and `'` (diff) | |
download | lpm-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.rs | 12 |
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"; +} |