最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin2浏览0评论

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

发布评论

评论列表(0)

  1. 暂无评论