【发布时间】:2022-01-06 13:51:38
【问题描述】:
我必须做些什么才能使它像官方文档中的这个示例一样简单?
:::python
print("The triple-colon syntax will *not* show line numbers.")
#!python
print("The path-less shebang syntax *will* show line numbers.")
我应该在 pelicanconf.py 中添加什么? 这是我的 requirements.txt:
blinker==1.4
colorama==0.4.4
commonmark==0.9.1
docutils==0.18
feedgenerator==2.0.0
Jinja2==3.0.2
Markdown==3.3.4
MarkupSafe==2.0.1
pelican==4.7.1
pelican-related-posts==1.0.0
pelican-series==2.1.0
Pygments==2.10.0
python-dateutil==2.8.2
pytz==2021.3
rich==10.12.0
six==1.16.0
Unidecode==1.3.2
我正在使用虚拟环境,也许有帮助。
【问题讨论】:
标签: pythonpath pelican pygments