refactored, adding examples directory

This commit is contained in:
2026-01-03 21:40:15 +01:00
parent 4e41a84a39
commit d7604f7c8e
5 changed files with 36 additions and 1 deletions

0
config/.gitkeep Normal file
View File

BIN
examples/image.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 KiB

35
examples/post.md Normal file
View File

@@ -0,0 +1,35 @@
# This is an example post
In this example we will do a couple of cool markdown things.
## This is a h2 header
*This text is written in italic!*
### Look at this!
**This text is BOLD!**
## Hello world!
```cpp
#include <iostream>
int main() {
std::cout << "Hello world!" << std::endl;
}
```
This is super cool!
## Time to link some random website!
This [should be clickable](https://example.com)
## Image test
![this should show an image](./image.png)
## This is an ordered list
1. one
2. six
3. seven
## This is an unordered one
- six
- nine
- six
- nine

View File

@@ -5,7 +5,7 @@
#include <string>
TEST_CASE("Checking config file read", "[config]") {
const std::string FILE_NAME = "../config/config_example.toml";
const std::string FILE_NAME = "../examples/config.toml";
Config config = get_config(FILE_NAME);