website/public/posts/_test.md
2025-02-16 22:13:20 +01:00

106 lines
1.2 KiB
Markdown

0
Test
\title
---
\toc
# H1
## H2
### H3
#### H4
##### H5
This is regular text
[This is a link](#)
*italic text*
**bold text**
***bold italic***
---
`this is an inline code block`
```
this is a code block
```
```cpp
/*
* TEST CPP CODEBLOCK
*/
void main(int argc, char** argv) {
std::string this = "c++ code block";
int integer = 0;
return 0;
}
class TestClass : AbstractTestClass {
public:
TestClass();
~TestClass();
private:
void DoStuff() override {
// do some stuff
}
};
```
```nix
{ ... } @ inputs :
let
this = "a nix code block";
in
{
posts.test.content = ''
multiline string
'';
website.backend = (pkgs.callPackage (import gitlab:SpoodyTheOne/webbisitey) {});
}
```
```rust
// Rust code block
fn main() {
let x = 40.3;
let y = x;
let g = G { s: vec!["this", "is", "a", "test"] };
}
struct G {
pub s: Vec<String>
}
pub trait T {
fn some_fn() -> Result<(), String>;
}
impl T for G {
fn some_fn() -> Result<(), String> {
Ok(())
}
}
```
struct
- List
- Test
- here
> this
> is
> a
>
> QUOTE
> **QUOTE**
![test broken image](broken_image.png)
![test image](/test.png)
![test image](/test.png "Image with caption")