This branch implements the changes I proposed in #4. There are 2 bug fixes here (dot directories, relative links to root), I can split them out to another pull request if some commits need more discussion.
The nice thing about these changes: You can now point ssite server to any directory with a README.md and get served a live markdown preview :)
One thing I just realized: If there is a index.md and README.md in the same directory, one of those files gets ignored, maybe one should probably win and the other should just work like a "normal" file...
This branch implements the changes I proposed in #4. There are 2 bug fixes here (dot directories, relative links to root), I can split them out to another pull request if some commits need more discussion.
The nice thing about these changes: You can now point
ssite server
to any directory with a README.md and get served a live markdown preview :)One thing I just realized: If there is a index.md and README.md in the same directory, one of those files gets ignored, maybe one should probably win and the other should just work like a "normal" file...