blob: bc0d9dbe058b3b51fc4e7974a978aaccf2aed8c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Article title
Some text
[Link text](http://example.com)
Paragraph with inline _Python code_: `%lang py% import foo`, wonder what this looks like.
## Subtitle
%lang c%
int main() {
return 0;
}
### Let's try a Lisp
%lang scm%
(define foo (+ 1 2 3 4))
### And Rust
%lang rs%
const STARTING_MISSILES: i32 = 8;
const READY_AMOUNT: i32 = 2;
fn main() {
let mut missiles: i32 = STARTING_MISSILES;
let ready: i32 = READY_AMOUNT;
println!("Firing {} of my {} missiles...", ready, missiles);
missiles = missiles - ready;
println!("{} missiles left", missiles);
}
## client side jäsä (juuso commission)
%lang js%
alert("beenis");
> This is a quote
>
> > Alas poor Yorick
|