You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Static site generator from markdown files with features:
TeX style math support
file path is the post url
file name is the post title
post can be hidden(link does not be insert into index/tag page)
you can check the demo site
to learn the usages of morpho.
Install
morpho is implemented by rust language(2018 edition), so you need cargo command:
cargo install morpho
morpho will be installed in your cargo binary directory(~/.cargo/bin/).
CLI
morpho can be use as a command:
$ morpho -h
static site generator from markdown files
USAGE:
morpho <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
build Build the site static files
help Prints this message or the help of the given subcommand(s)
init Initialize the site directory layout
new Create a site post
serve Serve the site, rebuild on change
theme Blog theme operations
you can also check the subcommand usage:
$ morpho serve -h
Serve the site, rebuild on change
USAGE:
morpho serve [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-p, --port <port> Serve the site at https://127.0.0.1:<port> [default: 5000]