From 8f2475b6825b8e2448fb5b34108f6c2ecf631ad8 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Tue, 16 Jan 2024 13:03:37 -0800 Subject: [PATCH] Syntax highlighting for Bash in README --- {{cookiecutter.hyphenated}}/README.md | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/{{cookiecutter.hyphenated}}/README.md b/{{cookiecutter.hyphenated}}/README.md index 57cff5c..c8d1fd8 100644 --- a/{{cookiecutter.hyphenated}}/README.md +++ b/{{cookiecutter.hyphenated}}/README.md @@ -10,9 +10,9 @@ ## Installation Install this library using `pip`: - - pip install {{ cookiecutter.hyphenated }} - +```bash +pip install {{ cookiecutter.hyphenated }} +``` ## Usage Usage instructions go here. @@ -20,15 +20,16 @@ Usage instructions go here. ## Development To contribute to this library, first checkout the code. Then create a new virtual environment: - - cd {{ cookiecutter.hyphenated }} - python -m venv venv - source venv/bin/activate - +```bash +cd {{ cookiecutter.hyphenated }} +python -m venv venv +source venv/bin/activate +``` Now install the dependencies and test dependencies: - - pip install -e '.[test]' - +```bash +pip install -e '.[test]' +``` To run the tests: - - pytest +```bash +pytest +```