2024-10-25 17:03:47 +04:00
|
|
|
---
|
|
|
|
mydata: 123
|
|
|
|
---
|
|
|
|
|
|
|
|
# Заголовок 1
|
|
|
|
## Заголовок 2
|
|
|
|
|
|
|
|
###### Заголовок 6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- ненумерованный список, элемент 1
|
|
|
|
- элемент 2
|
|
|
|
- element 3
|
|
|
|
|
|
|
|
1. раз
|
|
|
|
2. два
|
|
|
|
3. три
|
|
|
|
|
|
|
|
- [x] Done
|
|
|
|
- [ ] Todo
|
|
|
|
- [ ] Won't fix
|
|
|
|
|
|
|
|
> [!WARNING]
|
|
|
|
>
|
|
|
|
> Some important quote
|
|
|
|
|
|
|
|
|
|
|
|
text text text `inline code` text text text
|
|
|
|
|
|
|
|
```rs
|
2024-11-21 14:34:05 +04:00
|
|
|
// cargo add tokio -F macros,rt-multi-thread,fs
|
|
|
|
|
2024-10-25 17:03:47 +04:00
|
|
|
#[tokio::main]
|
|
|
|
async fn main() -> std::io::Result<()> {
|
2024-11-21 14:34:05 +04:00
|
|
|
let cfg = tokio::fs::read_to_string("config.txt").await?;
|
|
|
|
let cfg: Vec<&str> = cfg.split(';').collect();
|
|
|
|
println!("{}", cfg.first().unwrap_or(&"hello"));
|
|
|
|
Ok(())
|
2024-10-25 17:03:47 +04:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
***
|
|
|
|
|
|
|
|
Link to [example](https://example.com), image ![abc](https://example.com).
|
|
|
|
Lorem ipsum
|
|
|
|
**dolor *sit*** amet \
|
|
|
|
consectuer ~~что-то там~~.[^1]
|
|
|
|
|
|
|
|
|Title| Price|Quantity| Cost|
|
|
|
|
|-----|-----:|-------:|-----:|
|
|
|
|
|Abcde|115.23| 0.100| 11.52|
|
|
|
|
|Qwert|221.00| 1|221.00|
|
|
|
|
|
|
|
|
*H*ell**o** `W`or[ld][1]
|
|
|
|
|
|
|
|
[1]: abc
|
|
|
|
|
|
|
|
[^1]: def
|