Remove more blocks

This commit is contained in:
Laurenz 2023-01-29 23:41:54 +01:00
parent c3b3bbb9f2
commit 1d86f41831
3 changed files with 12 additions and 12 deletions

View File

@ -166,7 +166,7 @@ fn format_csv_error(error: csv::Error) -> String {
/// ) /// )
/// #h(6pt) /// #h(6pt)
/// #set text(22pt, baseline: -8pt) /// #set text(22pt, baseline: -8pt)
/// #{day.temperature} °#{day.unit} /// #day.temperature °#day.unit
/// ] /// ]
/// ///
/// #forecast(json("monday.json")) /// #forecast(json("monday.json"))
@ -253,7 +253,7 @@ fn format_json_error(error: serde_json::Error) -> String {
/// heading(title.children.first()) /// heading(title.children.first())
/// text(10pt, weight: "medium")[ /// text(10pt, weight: "medium")[
/// Published by /// Published by
/// #{author.children.first()} /// #author.children.first()
/// ] /// ]
/// ///
/// for p in pars.children { /// for p in pars.children {

View File

@ -41,10 +41,10 @@ pub fn type_(args: &mut Args) -> SourceResult<Value> {
/// ///
/// ## Example /// ## Example
/// ``` /// ```
/// #{ none } vs #repr(none) \ /// #none vs #repr(none) \
/// #{ "hello" } vs #repr("hello") \ /// #"hello" vs #repr("hello") \
/// #{ (1, 2) } vs #repr((1, 2)) \ /// #(1, 2) vs #repr((1, 2)) \
/// #{ [*Hi*] } vs #repr([*Hi*]) /// #[*Hi*] vs #repr([*Hi*])
/// ``` /// ```
/// ///
/// ## Parameters /// ## Parameters

View File

@ -75,7 +75,7 @@ impl LayoutMath for VecNode {
/// - rows: Array (positional, variadic) /// - rows: Array (positional, variadic)
/// An array of arrays with the rows of the matrix. /// An array of arrays with the rows of the matrix.
/// ///
/// # Example /// ### Example
/// ``` /// ```
/// #let data = ((1, 2, 3), (4, 5, 6)) /// #let data = ((1, 2, 3), (4, 5, 6))
/// #let matrix = math.mat(..data) /// #let matrix = math.mat(..data)
@ -210,15 +210,15 @@ impl Delimiter {
castable! { castable! {
Delimiter, Delimiter,
/// Delimit the vector with parentheses. /// Delimit with parentheses.
"(" => Self::Paren, "(" => Self::Paren,
/// Delimit the vector with brackets. /// Delimit with brackets.
"[" => Self::Bracket, "[" => Self::Bracket,
/// Delimit the vector with curly braces. /// Delimit with curly braces.
"{" => Self::Brace, "{" => Self::Brace,
/// Delimit the vector with vertical bars. /// Delimit with vertical bars.
"|" => Self::Bar, "|" => Self::Bar,
/// Delimit the vector with double vertical bars. /// Delimit with double vertical bars.
"||" => Self::DoubleBar, "||" => Self::DoubleBar,
} }