Skip to content

Commit 79942e3

Browse files
Merge pull request #630 from bwcii/Issue-#629
Update lib.rs To Fix Doc Formatting
2 parents a918f65 + ca8a52e commit 79942e3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

askama_derive/src/lib.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,17 @@ macro_rules! make_derive_template {
9595
/// is undefined, which generally makes it impossible to refer to this
9696
/// template from other templates. If `source` is specified, `ext` must also
9797
/// be specified (see below). Cannot be used together with `path`.
98-
/// `ext` (e.g. `ext = "txt"`): lets you specify the content type as a file
98+
///
99+
/// ### ext
100+
///
101+
/// E.g. `ext = "txt"`
102+
///
103+
/// Lets you specify the content type as a file
99104
/// extension. This is used to infer an escape mode (see below), and some
100105
/// web framework integrations use it to determine the content type.
101106
/// Cannot be used together with `path`.
102107
///
103-
/// ### `in_doc`
108+
/// ### in_doc
104109
///
105110
/// E.g. `in_doc = true`
106111
///

0 commit comments

Comments
 (0)