Crates.io | hyde |
lib.rs | hyde |
version | 0.1.0 |
source | src |
created_at | 2021-01-03 05:30:35.815028 |
updated_at | 2021-01-03 05:30:35.815028 |
description | A CLI to help create and manage markdown files used by static site generators like Jekyll |
homepage | https://stonecharioteer.com/hyde.html |
repository | https://github.com/stonecharioteer/hyde |
max_upload_size | |
id | 330901 |
size | 16,597 |
hyde
- Markdown Template ToolCreate and Manage Markdown files and their header content.
Hyde is a tool that helps you make Jekyll-based Markdown files.
Hyde can:
Hyde also implements some checks and balances:
Hyde will warn you when:
Hyde uses toml
files for configuration files. It stores its config
in $HOME/.config/hyde/
in Linux and OSX,
and in the %APPDIR%
on Windows.
Check out the documentation on docs.rs/hyde.
hyde
supports the following commands:
hyde config
This command can be used to create or update configurations. hyde
stores its configs
in platform-dependent folders. To override this behaviour, set the HYDE_CONFIG_FOLDER
path.
Note that hyde uses multiple config files, so a folder is required.
hyde config create
will dump a default configuration file default.toml
into the config folder. It takes the following optional parameters:
hyde config create --name blog
will create blog.toml
in the config folder.
hyde config create -n website
will create website.toml
in the config folder.
A config file looks like this:
root_folder = "/home/my_user_name/workspace/notes"
[drafts]
drafts = true
folder_name = "_drafts"
has_date = false
[drafts.default-tags]
categories = ["drafts", "notes"]
[published]
drafts = false
has_date = true
folder_name = "_posts"
[special]
drafts = false
has_date = false
folder_name = "pages
To update a field, use hyde config -n <name|default> set published.folder_name='something'
While I developed hyde
mostly for myself, anyone can file bug reports on github.