我试图通过创建配置文件和编辑 costum.css 来更改一些设置,尤其是我的 ipython 1.1 笔记本中的字体,但它在 Windows 7 中不起作用。
我的custom.css文件在Users/"user_name"/.ipyton/profile_default/static/css目录下
并且我已经将这些行添加到文件中
<style>
div.cell.code_cell { /* Areat containing both code and output */
font-family: Consolas, monospace;
}
</style>
我做错了什么
最佳答案
您不需要 <style>
custom.css 文件中的标签!
可以找到关于 IPython notebook 样式的一个很好的例子 here
关于css - Ipython1.1 笔记本字体更改无法通过 css 文件工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20124846/