|
Download crates/forge_display/src/fixtures/code-02.md from SaylorTwift/forgecode: direct link, hf CLI and curl.
- Browser
- Download file 430 Bytes
-
https://huggingface.co/SaylorTwift/forgecode/resolve/main/crates/forge_display/src/fixtures/code-02.md
- Command line
-
hf download hf://SaylorTwift/forgecode/crates/forge_display/src/fixtures/code-02.md
-
curl -L -o code-02.md https://huggingface.co/SaylorTwift/forgecode/resolve/main/crates/forge_display/src/fixtures/code-02.md
430 Bytes
Sample Code Documentation
This document demonstrates multiple code blocks with different languages.
Rust Example
fn main() {
println!("Hello, world!");
}
Python Example
def greet(name):
print(f"Hello, {name}!")
JavaScript Example
function add(a, b) {
return a + b;
}
Conclusion
These examples show basic syntax in different programming languages.