4 releases
0.1.3 | Sep 15, 2024 |
---|---|
0.1.2 | Sep 15, 2024 |
0.1.1 | Sep 8, 2024 |
0.1.0 | Sep 8, 2024 |
#2363 in Command line utilities
149 downloads per month
13KB
209 lines
speedymd
A CLI tool for setting up Markdown speedily. 🚀
Install
- cargo
$ cargo install speedymd
[!WARNING] This crate is unstable. Any breaking changes may happen near future.
How to use?
Just run
$ speedymd
When you use this cli, you need to put the speedymd.config.json
on the current directory.
Now, it supports
- Generating
.md (.mdx)
file. - Customizing
Frontmatter
as you like.
Configuration file speedymd.config.json
See example configuration file here.
key | description | required or not |
---|---|---|
ext | file extension, supporting .md or .mdx |
required |
outputPath | which path markdown would be outputted | required |
frontmatter | frontmatter values | not |
- Specify frontmatter values
key | description | required or not | example |
---|---|---|---|
name | required | title | |
type | supporting text , boolean , select , multiselect and object |
required | text |
question | not | Please enter title |
|
placeholder | not | any title | |
options | when you specify select or multiselect to type, you need to specify this key |
not | ["JavaScript", "Python", "Rust"] |
properties | when you specify object to type, you need to specify this key |
not | please see the example |
License
MIT
Dependencies
~5–11MB
~95K SLoC