Recommended Tools¶
On this pages we summarize some tools that work nicely with RecipeMD recipes.
recipemd-extract¶
With recipemd-extract, you can easily download recipes from large number of popular websites as RecipeMD.
After installation you can download into the current folder via:
recipmd-extract '<url-of-recipe>'
recipemd-validator¶
recipemd-validator is a git hook that validates recipes and works out-of-the-box with pre-commit.
To configure add to your .pre-commit-config.yaml
:
repos:
- repo: git://github.com/gindex/recipemd-validator
rev: v0.0.1
hooks:
- id: validate-recipemd
Pandoc¶
Pandoc is a tool that can be used to convert files between difference markup formats, for example from Markdown to lots of other formats.
Convert a recipe to pdf:
recipemd <path/to/recipe.md> | pandoc --pdf-engine=xelatex -V geometry:margin=2cm -V geometry:a4paper -o <path/to/recipe.pdf>
Convert a folder of recipes to pdfs:
ls *.md | xargs -P10 -I{} bash -c 'pandoc --pdf-engine=xelatex -V geometry:margin=2cm -V geometry:a4paper {} -o $(basename {} md)pdf'
Note that you can specify the latex template used by pandoc to adopt the output to your taste.
GitLab Markdown Viewer¶
GitLab Markdown Viewer is an add-on for Firefox that allows it to render Markdown recipe. This allows you to use Firefox to navigate your recipe collection.
Other Tools¶
If you use any other tools with RecipeMD recipes, we’d like to include them here. Please send a pull request or open an issue to add to this page.