citum-schema-style 0.65.0

Citum style schema types and styling engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
SPDX-License-Identifier: MIT OR Apache-2.0
SPDX-FileCopyrightText: © 2023-2026 Bruce D'Arcus and Citum contributors
*/

use crate::{tc_number, template::TemplateComponent};

/// Embedded citation template for plain numeric citation styles.
///
/// Renders as the citation number itself (wrapping is style-controlled):
/// `1`, `(1)`, or `[1]` depending on the parent citation options.
pub fn citation() -> Vec<TemplateComponent> {
    vec![tc_number!(CitationNumber)]
}