fix(html): keyword-in-heading badge + brackets in wikilink descriptions
This commit is contained in:
@@ -53,6 +53,10 @@ pub struct PreformattedNode {
|
||||
pub span: Span,
|
||||
pub content: String,
|
||||
pub language: Option<String>,
|
||||
/// Verbatim text after the opening `{{{`, trailing whitespace trimmed
|
||||
/// (e.g. `python` or `class="brush: python"`). vimwiki inserts this as
|
||||
/// raw attributes on the `<pre>` tag, so we preserve it for byte-parity.
|
||||
pub attrs: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
|
||||
Reference in New Issue
Block a user