docs: Use `<pre><code>..</pre></code>` tags for escaping markdown block

pull/13275/head
Michael Davis 2025-04-28 10:28:03 -04:00
parent 9f58825ec8
commit c1286b946a
No known key found for this signature in database
1 changed files with 3 additions and 3 deletions

View File

@ -2568,9 +2568,9 @@ pub enum Documentation {
/// ///
/// The pair of a language and a value is an equivalent to markdown: /// The pair of a language and a value is an equivalent to markdown:
/// ///
/// ```language /// <pre><code>```${language}
/// value /// ${value}
/// ``` /// ```</code></pre>
#[derive(Debug, Eq, PartialEq, Clone, Deserialize, Serialize)] #[derive(Debug, Eq, PartialEq, Clone, Deserialize, Serialize)]
#[serde(untagged)] #[serde(untagged)]
pub enum MarkedString { pub enum MarkedString {