change links to new knowledge base (#3411)

* change links to new knowledge base

* Fix formatting
This commit is contained in:
sorata 2024-09-11 01:14:39 +05:30 committed by GitHub
parent a262e02f9d
commit 9a3bdca3d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,12 +28,10 @@ use crate::template_filters::apply_filters;
pub type FieldMap<'a> = HashMap<&'a str, u16>;
type TemplateResult<T> = std::result::Result<T, TemplateError>;
static TEMPLATE_ERROR_LINK: &str =
"https://anki.tenderapp.com/kb/problems/card-template-has-a-problem";
static TEMPLATE_ERROR_LINK: &str = "https://faqs.ankiweb.net/card-template-has-a-problem.html";
static TEMPLATE_BLANK_LINK: &str =
"https://anki.tenderapp.com/kb/card-appearance/the-front-of-this-card-is-blank";
static TEMPLATE_BLANK_CLOZE_LINK: &str =
"https://anki.tenderapp.com/kb/problems/no-cloze-found-on-card";
static TEMPLATE_BLANK_CLOZE_LINK: &str = "https://faqs.ankiweb.net/no-cloze-found-on-card.html";
// Lexing
//----------------------------------------