最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

python - Pip requirements syntax highlighting in GitHub markdown - Stack Overflow

matteradmin6PV0评论

According to GitHub syntax highlighting, keyword for pip requirements syntax highlighting can be found on languages.yml. According to the link, the keyword is Pip Requirements, but the following markdown snippet isn't highlighted on GitHub:

```Pip Requirements
pandas==2.2.3
```

How to syntax highlight pip requirements?

According to GitHub syntax highlighting, keyword for pip requirements syntax highlighting can be found on languages.yml. According to the link, the keyword is Pip Requirements, but the following markdown snippet isn't highlighted on GitHub:

```Pip Requirements
pandas==2.2.3
```

How to syntax highlight pip requirements?

Share Improve this question asked Nov 17, 2024 at 2:07 pegasuspegasus 851 silver badge8 bronze badges 0
Add a comment  | 

1 Answer 1

Reset to default 1

Use "pip-requirements" instead of "Pip Requirements":

```pip-requirements
--editable .
foo==1.2
bar==3.4
baz[quux]>=1.0.1
```

It does not seem to render on Stack Overflow, but here is a screencap of markdown rendered from Github:

Source: https://gist.github/wimglenn/204dd744240848d8cbf2b9beb6eb4a83

Post a comment

comment list (0)

  1. No comments so far