aboutsummaryrefslogtreecommitdiffstats
path: root/markdown-tool
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-01-15 14:56:46 +0100
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-01-15 14:56:46 +0100
commit397127788cd5a9747d62874ff78fd4231903fb9c (patch)
tree9633fc6e90f0433ff99a42ce88a0a1a05e5067b3 /markdown-tool
parent6eab56b7b8a23e96146110394c617011ca679bb1 (diff)
downloadcgit-oci-397127788cd5a9747d62874ff78fd4231903fb9c.tar.gz
cgit-oci-397127788cd5a9747d62874ff78fd4231903fb9c.tar.bz2
cgit-oci-397127788cd5a9747d62874ff78fd4231903fb9c.tar.lz
cgit-oci-397127788cd5a9747d62874ff78fd4231903fb9c.zip

feat: nyaa

Diffstat (limited to 'markdown-tool')
-rw-r--r--markdown-tool/src/main.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/markdown-tool/src/main.rs b/markdown-tool/src/main.rs
index f321c63..99bea03 100644
--- a/markdown-tool/src/main.rs
+++ b/markdown-tool/src/main.rs
@@ -19,8 +19,5 @@ fn main() {
let parser = Parser::new_ext(&markdown_input, options);
let mut html_output: String = String::with_capacity(markdown_input.len() * 3 / 2);
html::push_html(&mut html_output, parser);
- println!(
- "<style>@import url(\"/assets/md.css\")</style>
-{html_output}"
- )
+ println!("<style>@import url(\"/assets/md.css\")</style><div class=\"md\">{html_output}</div>")
}