Comments (7)
你需要安装一些format.py中提到的库
$ pip install markdown
$ pip install pygments
$ pip install smartypants
from game-programming-patterns-cn.
这三个全都安装了,但是生成的HTML中的代码框只有一行,有个横向的滚动条
from game-programming-patterns-cn.
pygments缺失会造成此项问题。
使用pip list
指令显示当前的已安装包,以及当前的python版本,贴上来我看一下。
from game-programming-patterns-cn.
现在好了,就是pygments的问题
from game-programming-patterns-cn.
很好~
from game-programming-patterns-cn.
现在好了,就是pygments的问题
我遇到了一个同样的问题,能分享一下解决思路吗
from game-programming-patterns-cn.
from game-programming-patterns-cn.
Related Issues (20)
- 《组件模式》的错误或不妥请写在这里
- 《事件队列》的错误或不妥请写在这里
- 《服务定位器》的错误或不妥请写在这里
- 《数据局部性》的错误或不妥请写在这里 HOT 1
- 《脏标识模式》的错误或不妥请写在这里
- 《对象池模式》的错误或不妥请写在这里
- 《空间分区》的错误或不妥请写在这里 HOT 1
- 错字 HOT 1
- 是否可以在章节正文旁边显示目录?
- 你好,我想问下怎么把正文字体改成思源黑体?
- 【勘误】序言 HOT 2
- 显示错误 HOT 1
- singleton笔误
- 翻译改进
- 请问有人知道作者是用了什么写书模板吗? HOT 1
- 关于序中的一个名词的改进
- 在手机浏览器中似乎看不到目录,只有页面最下面有一个小部分
- 建议添加原作者对双缓冲模式的额外说明 HOT 1
- “字节码”章节的“字节对齐”写错为“字节对其”
- 暗色模式 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from game-programming-patterns-cn.