Skip to content

Commit

Permalink
docs: minor usage addition
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-kinton committed Nov 17, 2023
1 parent 99c65bb commit b662e90
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

Generate fallback fonts from a CSS file using fontpie.

```bash
npx fontpie-from-css <css-file>
```

[build badge]:
https://img.shields.io/github/actions/workflow/status/matt-kinton/fontpie-from-css/release.yml?branch=main&logo=github&style=flat-square
[build]:
Expand All @@ -14,6 +10,15 @@ npx fontpie-from-css <css-file>
https://img.shields.io/badge/license-MIT%20License-blue.svg?style=flat-square
[license]: https://github.com/matt-kinton/fontpie-from-css/blob/main/LICENSE

## Usage

```bash
npx fontpie-from-css <css-file>
```

**Note:** Font files are loaded relative to the CSS file, ideally the CSS file
should be in the same directory as the font files.

## Credit

This project is a simple wrapper around
Expand Down

0 comments on commit b662e90

Please sign in to comment.