aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorlukeflo2025-10-15 08:50:54 +0200
committerlukeflo2025-10-15 08:50:54 +0200
commit7d59b6c816fa81c13cdf8348a2e7db0076015cd1 (patch)
tree06e863cc52411cf041ca0d118c1334c7d3e3bac2 /tests
parent34170cfa62df5443a0d8675106c553efec035687 (diff)
parentdb882623358d9141927bd31f6825472f2cdca4b6 (diff)
downloadbibiman-7d59b6c816fa81c13cdf8348a2e7db0076015cd1.tar.gz
bibiman-7d59b6c816fa81c13cdf8348a2e7db0076015cd1.zip
Merge pull request 'implement basic citekey formatting' (#58) from format-citekeys-#55 into main
Reviewed-on: https://codeberg.org/lukeflo/bibiman/pulls/58
Diffstat (limited to 'tests')
-rw-r--r--tests/test-config.toml19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/test-config.toml b/tests/test-config.toml
index fc447f1..704d8d8 100644
--- a/tests/test-config.toml
+++ b/tests/test-config.toml
@@ -59,3 +59,22 @@ custom_column = "series"
# author_color = "38"
# title_color = "37"
# year_color = "135"
+
+[citekey_formatter]
+fields = [
+ "shorthand;;;;+",
+ "entrytype;;;;:",
+ "author;2;;-;_",
+ "title;3;6;=;_",
+ "year",
+ "publisher;;5;#;"
+]
+# fields = [ # CamelCase test
+# "author;2;;;",
+# "title;5;5;;",
+# "year"
+# ]
+case = "lowercase"
+ascii_only = true
+# ignored_words = ["the"]
+# ignored_chars = ["?", "."]