Skip to content

Commit 24646ae

Browse files
Altered the rust file to accept "assessment" tags
1 parent 17937dd commit 24646ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

preproc/src/admonitions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ struct AdmonitionsGenerator<'a, Iter: Iterator<Item = Event<'a>>> {
3838
}
3939

4040
impl<'a, Iter: Iterator<Item = Event<'a>>> AdmonitionsGenerator<'a, Iter> {
41-
const KINDS: [&'static str; 3] = ["tip", "warning", "danger"];
41+
const KINDS: [&'static str; 4] = ["tip","assessment", "warning", "danger"];
4242

4343
fn new(iter: Iter) -> Self {
4444
Self {

0 commit comments

Comments
 (0)