Skip to content

Commit

Permalink
better info about generating the README
Browse files Browse the repository at this point in the history
  • Loading branch information
elek committed Apr 24, 2024
1 parent 2d4cfb2 commit 0d16f09
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,11 @@ PR can be created where the old version and new version of the SVG can be seen,

![Rich diff](https://user-images.githubusercontent.com/170549/137105249-4fc31311-dbe0-49a9-82d9-37dace8ebcfa.png)

To regenerate the previews, the following can be used (after existing lines are removd):
To regenerate the previews, the following can be used (after existing lines are removed):

```
docs/*.svg | sort | xargs -n1 -IFILE printf "\![FILE](FILE)\n\n\`\`\`\n\n\n\n\`\`\`\n\n"
ls -1 docs/*.svg | sort | xargs -n1 -IFILE printf "![FILE](FILE)\n\n```\n\n\n\n```\n\n"
```

(tested in fish)

0 comments on commit 0d16f09

Please sign in to comment.