From 4e322c636bbc3e8064342931fe604bc6ddbe5f4e Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Tue, 6 Feb 2024 16:26:36 +0200 Subject: Implement basic site generation from .md --- article.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 article.md (limited to 'article.md') diff --git a/article.md b/article.md new file mode 100644 index 0000000..bc0d9db --- /dev/null +++ b/article.md @@ -0,0 +1,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 -- cgit v1.3