Created
February 8, 2025 18:44
-
-
Save inxeoz/0718471eaec5e545bbb0627695643749 to your computer and use it in GitHub Desktop.
code highliting in google blogger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Prism.js CSS for Syntax Highlighting --> | |
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism-tomorrow.min.css" rel="stylesheet" /> | |
<!-- Prism.js Core and Rust Language Support --> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-rust.min.js"></script> | |
<p><span style="font-size: medium;">Rust Programs:</span></p> | |
<pre class="language-rust"> | |
<code class="language-rust"> | |
fn main() { | |
let x = 42; | |
println!("Hello, Rust! {}", x); // This is a comment | |
} | |
</code> | |
</pre> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment