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

According to GitHub syntax highlighting, keyword for pip requirements syntax highlighting can be found

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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745640298a4637649.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信