Document backtick-quoting code in prose
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -49,6 +49,10 @@ Python uses **single-quoted strings** (`'...'`). Reformat with
|
|||||||
`ruff format --config "format.quote-style='single'" <paths>` (ruff is available via
|
`ruff format --config "format.quote-style='single'" <paths>` (ruff is available via
|
||||||
`nix run nixpkgs#ruff`). Docstrings stay triple-double-quoted (`"""`).
|
`nix run nixpkgs#ruff`). Docstrings stay triple-double-quoted (`"""`).
|
||||||
|
|
||||||
|
In prose (commit messages, docs, comments), backtick-quote anything code-like —
|
||||||
|
paths, filenames, identifiers, commands, endpoints — rather than plain or
|
||||||
|
double-quoted text.
|
||||||
|
|
||||||
## Working with the capture
|
## Working with the capture
|
||||||
|
|
||||||
Read flows with the mitmproxy Python API:
|
Read flows with the mitmproxy Python API:
|
||||||
|
|||||||
Reference in New Issue
Block a user