Skip to content

Commit

Permalink
Version 0.2.0
Browse files Browse the repository at this point in the history
- Add support for `restructuredtext`
  • Loading branch information
lukas-reineke committed Aug 31, 2022
1 parent 1efe348 commit 2a8e356
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
7 changes: 4 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "cbfmt"
version = "0.1.4"
version = "0.2.0"
edition = "2021"
description = "A tool to format codeblocks inside markdown and org documents"
description = "A tool to format codeblocks inside markdown, org, and restructuredtext documents"
repository = "https://github.com/lukas-reineke/cbfmt"
categories = ["development-tools"]
keywords = ["format", "markdown", "org", "codeblock"]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cbfmt (codeblock format)

A tool to format codeblocks inside markdown and org documents.
A tool to format codeblocks inside markdown, org, and restructuredtext documents.
It iterates over all codeblocks, and formats them with the tool(s) specified for
the language of the block.

Expand Down
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ async fn main() {

let mut app =
App::new("cbfmt")
.version("0.1.4")
.version("0.2.0")
.author("Lukas Reineke <lukas@reineke.jp>")
.about("A tool to format codeblocks inside markdown and org documents.\nIt iterates over all codeblocks, and formats them with the tool(s) specified for the language of the block.")
.about("A tool to format codeblocks inside markdown, org, and restructuredtext documents.\nIt iterates over all codeblocks, and formats them with the tool(s) specified for the language of the block.")
.arg(
Arg::with_name("config")
.long("config")
Expand Down Expand Up @@ -58,7 +58,7 @@ async fn main() {
Arg::with_name("parser")
.short('p')
.long("parser")
.value_name("markdown|org")
.value_name("markdown|org|restructuredtext")
.help("Sets the parser to use.")
.takes_value(true),
)
Expand Down

0 comments on commit 2a8e356

Please sign in to comment.