From 3680c854a21db665d64cdb8f31aa0f9a1af16ceb Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 26 Apr 2023 13:46:42 +0200 Subject: Touch up docs --- library/src/text/raw.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'library/src/text/raw.rs') diff --git a/library/src/text/raw.rs b/library/src/text/raw.rs index 1c216483..091026b1 100644 --- a/library/src/text/raw.rs +++ b/library/src/text/raw.rs @@ -9,19 +9,11 @@ use crate::layout::BlockElem; use crate::meta::{Figurable, LocalName}; use crate::prelude::*; -/// Raw text with optional syntax highlighting. +/// Raw text with optionalw syntax highlighting. /// /// Displays the text verbatim and in a monospace font. This is typically used /// to embed computer code into your document. /// -/// ## Syntax -/// This function also has dedicated syntax. You can enclose text in 1 or 3+ -/// backticks (`` ` ``) to make it raw. Two backticks produce empty raw text. -/// When you use three or more backticks, you can additionally specify a -/// language tag for syntax highlighting directly after the opening backticks. -/// Within raw blocks, everything is rendered as is, in particular, there are no -/// escape sequences. -/// /// ## Example /// ````example /// Adding `rbx` to `rcx` gives @@ -34,6 +26,14 @@ use crate::prelude::*; /// ``` /// ```` /// +/// ## Syntax +/// This function also has dedicated syntax. You can enclose text in 1 or 3+ +/// backticks (`` ` ``) to make it raw. Two backticks produce empty raw text. +/// When you use three or more backticks, you can additionally specify a +/// language tag for syntax highlighting directly after the opening backticks. +/// Within raw blocks, everything is rendered as is, in particular, there are no +/// escape sequences. +/// /// Display: Raw Text / Code /// Category: text #[element(Synthesize, Show, Finalize, LocalName, Figurable)] -- cgit v1.2.3