From 8efbdaa7d9d023a52f2b2fd484b81a4697934c99 Mon Sep 17 00:00:00 2001 From: Tetsuo Koyama Date: Mon, 7 Oct 2024 17:41:44 +0900 Subject: [PATCH] Add Python syntax highlighting in README.md code blocks --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 30d34717..d63f09a6 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,9 @@ If you wish to use this package as a dependency in your own project, simply run: via the command prompt in your project's directory. Then, in a script that you'd like to use features from Ptera Software, add: -```import pterasoftware as ps``` +```python +import pterasoftware as ps +``` If you haven't previously downloaded Ptera Software's source code, you can also learn about the available functions by reading their docstrings, which should be fetched @@ -160,7 +162,7 @@ an issue for guidance. The following code snippet is all that is needed (after running pip install pterasoftware) to run the steady horseshoe solver on an airplane with custom geometry. -``` +```python import pterasoftware as ps airplane = ps.geometry.Airplane(