diff --git a/README.md b/README.md index 11fd1f9014..9ef09cc4f2 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ ## Documentation - **Official Documentation**: [jqlang.org](https://jqlang.org) -- **Try jq Online**: [jqplay.org](https://jqplay.org) +- **Try jq Online**: [play.jqlang.org](https://play.jqlang.org) ## Installation @@ -17,13 +17,16 @@ Download the latest releases from the [GitHub release page](https://github.com/j Pull the [jq image](https://github.com/jqlang/jq/pkgs/container/jq) to start quickly with Docker. - #### Run with Docker + ##### Example: Extracting the version from a `package.json` file + ```bash docker run --rm -i ghcr.io/jqlang/jq:latest < package.json '.version' ``` + ##### Example: Extracting the version from a `package.json` file with a mounted volume + ```bash docker run --rm -i -v "$PWD:$PWD" -w "$PWD" ghcr.io/jqlang/jq:latest '.version' package.json ``` diff --git a/docs/templates/index.html.j2 b/docs/templates/index.html.j2 index 7b444fa16e..efcf4a5d18 100644 --- a/docs/templates/index.html.j2 +++ b/docs/templates/index.html.j2 @@ -25,8 +25,8 @@