Skip to content

Commit ea2c7e9

Browse files
authored
Add prettier for markdown files (#19)
1 parent aa97298 commit ea2c7e9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ jobs:
4242
- run: cargo clippy --all-features --locked -- -D warnings
4343

4444
fmt:
45-
name: Rustfmt
45+
name: Format
4646
runs-on: ubuntu-latest
4747
steps:
4848
- uses: actions/checkout@v4
4949
- run: rustup component add rustfmt
5050
- run: cargo fmt --all -- --check
51+
- run: npx prettier --check "**/*.md"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ A Rust port of the [pkginfo](https://pypi.org/project/pkginfo/) Python library.
99

1010
## Installation
1111

12-
Add it to your ``Cargo.toml``:
12+
Add it to your `Cargo.toml`:
1313

1414
```toml
1515
[dependencies]
1616
python-pkginfo = "0.6"
1717
```
1818

19-
then you are good to go. If you are using Rust 2015 you have to add ``extern crate python_pkginfo`` to your crate root as well.
19+
then you are good to go. If you are using Rust 2015 you have to add `extern crate python_pkginfo` to your crate root as well.
2020

2121
## Example
2222

0 commit comments

Comments
 (0)