From aeacae85c379184909f074b7f4e8bb50df0c3473 Mon Sep 17 00:00:00 2001 From: kirbylife Date: Fri, 27 Dec 2019 19:28:44 -0600 Subject: [PATCH] added more ways to comment the title --- src/misc.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/misc.rs b/src/misc.rs index 80ea47d..2f75928 100644 --- a/src/misc.rs +++ b/src/misc.rs @@ -3,7 +3,7 @@ extern crate tera; use rand::Rng; use tera::Context; -const TITLES: [&str; 9] = [ +const TITLES: [&str; 11] = [ "/* {} */", "# {}", "// {}", @@ -13,6 +13,8 @@ const TITLES: [&str; 9] = [ "--[[ {} --]]", "; {}", "% {}", + "{- {} -}", + "(* {} *)", ]; pub fn get_context() -> Context {