mirror of
https://github.com/szymon-jozef/static-site-generator.git
synced 2026-06-05 17:00:10 +02:00
refactored, adding examples directory
This commit is contained in:
0
config/.gitkeep
Normal file
0
config/.gitkeep
Normal file
BIN
examples/image.png
Normal file
BIN
examples/image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 290 KiB |
35
examples/post.md
Normal file
35
examples/post.md
Normal 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 is an ordered list
|
||||
1. one
|
||||
2. six
|
||||
3. seven
|
||||
|
||||
## This is an unordered one
|
||||
- six
|
||||
- nine
|
||||
- six
|
||||
- nine
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user