Compare commits

...

2 commits

Author SHA1 Message Date
a1ad036fa9
refactor: rename content source dir 2025-02-07 21:47:12 +04:00
b30cfd810a
chore: add test for standalone image/link 2025-02-07 21:46:07 +04:00
2 changed files with 5 additions and 1 deletions

View file

@ -50,6 +50,10 @@ Lorem ipsum
**dolor *sit*** amet \
consectuer ~~что-то там~~.[^1]
[Standalone link](https://dc09.ru/a)
![Standalone image](https://dc09.ru/b)
|Title| Price|Quantity| Cost|
|-----|-----:|-------:|-----:|
|Abcde|115.23| 0.100| 11.52|

View file

@ -9,7 +9,7 @@ use walkdir::WalkDir;
fn main() {
let src_dir = {
let def = || OsString::from("./source/");
let def = || OsString::from("./content/");
let var = std::env::var_os("SOURCE_DIR").unwrap_or_else(def);
PathBuf::from(var)
};