Server MD with Rust
This commit is contained in:
commit
3899ecce2f
14 changed files with 2823 additions and 0 deletions
11
sample/content/zap/zap.md
Normal file
11
sample/content/zap/zap.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Zap Zap Page
|
||||
|
||||
This is the zap/zap page served at `/zap/zap`.
|
||||
|
||||
## Testing
|
||||
|
||||
The server should resolve any path to the corresponding `.md` file in the content directory.
|
||||
|
||||
- Path: `/zap/zap` → File: `./content/zap/zap.md`
|
||||
- Path: `/foo/bar` → File: `./content/foo/bar.md`
|
||||
- Path: `/any/deep/nested/path` → File: `./content/any/deep/nested/path.md`
|
||||
Loading…
Add table
Add a link
Reference in a new issue