mirror of
https://github.com/askama-rs/askama.git
synced 2025-12-29 21:01:26 +00:00
Update lib.rs To Fix Doc Formatting
Updated lib.rs to fix documentation formatting issues to better align with the format used for almost all of the sub attributes. Should resolve Issue #629 in the upstream repo.
This commit is contained in:
parent
a918f65937
commit
ca8a52eb81
@ -95,12 +95,17 @@ macro_rules! make_derive_template {
|
||||
/// is undefined, which generally makes it impossible to refer to this
|
||||
/// template from other templates. If `source` is specified, `ext` must also
|
||||
/// be specified (see below). Cannot be used together with `path`.
|
||||
/// `ext` (e.g. `ext = "txt"`): lets you specify the content type as a file
|
||||
///
|
||||
/// ### ext
|
||||
///
|
||||
/// E.g. `ext = "txt"`
|
||||
///
|
||||
/// Lets you specify the content type as a file
|
||||
/// extension. This is used to infer an escape mode (see below), and some
|
||||
/// web framework integrations use it to determine the content type.
|
||||
/// Cannot be used together with `path`.
|
||||
///
|
||||
/// ### `in_doc`
|
||||
/// ### in_doc
|
||||
///
|
||||
/// E.g. `in_doc = true`
|
||||
///
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user