Skip to content

Added helper binary to regenerate READMEs#110

Open
Hirevo wants to merge 2 commits intomasterfrom
helper/readme-render
Open

Added helper binary to regenerate READMEs#110
Hirevo wants to merge 2 commits intomasterfrom
helper/readme-render

Conversation

@Hirevo
Copy link
Owner

@Hirevo Hirevo commented Apr 1, 2021

This PR adds a new helper binary to help (re)generate README (or any markdown file) with syntax-highlighted code blocks when needed.

It loads syntaxes and themes in the same way the main registry does it by depending on the same alexandrie-rendering crate and loading settings from the same config file.

An easy way to invoke it is simply to execute the following command at the repository root:

cargo run -p readme-render

@Hirevo Hirevo added C-enhancement Category: Enhancement P-medium Priority: Medium labels Apr 1, 2021
@Hirevo Hirevo self-assigned this Apr 1, 2021
@Hirevo Hirevo force-pushed the helper/readme-render branch from 86065f2 to 3c85a05 Compare April 18, 2023 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-enhancement Category: Enhancement P-medium Priority: Medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant