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:
Benjamin Crouch II 2025-12-12 11:03:40 -06:00 committed by GitHub
parent a918f65937
commit ca8a52eb81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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`
///