aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-04-17 14:57:58 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-04-17 14:58:07 +0200
commitb744f27606fdae01321faa41c9d554e019560d41 (patch)
tree40e921a651ac1bba07a1c6693d68f7e0818865ed
parentc2919a1d862c4e72cfeac14850ac1ab31a171457 (diff)
downloadaskama-b744f27606fdae01321faa41c9d554e019560d41.tar.gz
askama-b744f27606fdae01321faa41c9d554e019560d41.tar.bz2
askama-b744f27606fdae01321faa41c9d554e019560d41.zip
Add a little documentation about comments support (fixes #79)
-rw-r--r--askama/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/askama/src/lib.rs b/askama/src/lib.rs
index 3f0a267..3791283 100644
--- a/askama/src/lib.rs
+++ b/askama/src/lib.rs
@@ -259,6 +259,10 @@
//! The HTML special characters `&`, `<` and `>` will be replaced with their
//! character entities unless the `escape` mode is disabled for a template.
//!
+//! ## Comments
+//!
+//! Askama supports block comments delimited by `{#` and `#}`.
+//!
//! # Optional functionality
//!
//! ## Rocket integration