Skip to content

Commit 2a8e356

Browse files
committed
Version 0.2.0
- Add support for `restructuredtext`
1 parent 1efe348 commit 2a8e356

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

Cargo.lock

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "cbfmt"
3-
version = "0.1.4"
3+
version = "0.2.0"
44
edition = "2021"
5-
description = "A tool to format codeblocks inside markdown and org documents"
5+
description = "A tool to format codeblocks inside markdown, org, and restructuredtext documents"
66
repository = "https://github.com/lukas-reineke/cbfmt"
77
categories = ["development-tools"]
88
keywords = ["format", "markdown", "org", "codeblock"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# cbfmt (codeblock format)
22

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

src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ async fn main() {
1818

1919
let mut app =
2020
App::new("cbfmt")
21-
.version("0.1.4")
21+
.version("0.2.0")
2222
.author("Lukas Reineke <[email protected]>")
23-
.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.")
23+
.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.")
2424
.arg(
2525
Arg::with_name("config")
2626
.long("config")
@@ -58,7 +58,7 @@ async fn main() {
5858
Arg::with_name("parser")
5959
.short('p')
6060
.long("parser")
61-
.value_name("markdown|org")
61+
.value_name("markdown|org|restructuredtext")
6262
.help("Sets the parser to use.")
6363
.takes_value(true),
6464
)

0 commit comments

Comments
 (0)