17 lines
424 B
Markdown
17 lines
424 B
Markdown
|
|
# Welcome to Markdown Server
|
||
|
|
|
||
|
|
This is the home page served at `/`.
|
||
|
|
|
||
|
|
## Available Pages
|
||
|
|
|
||
|
|
- [/foo/bar](foo/bar) - Sample page
|
||
|
|
- [/zap/zap](zap/zap) - Another test page
|
||
|
|
- [/any/deep/nested/path](any/deep/nested/path) - Deep nesting example
|
||
|
|
|
||
|
|
## How it works
|
||
|
|
|
||
|
|
The server automatically:
|
||
|
|
1. Takes the URL path
|
||
|
|
2. Looks for a corresponding `.md` file in the `./content` directory
|
||
|
|
3. Converts Markdown to HTML
|
||
|
|
4. Serves the result
|