I'm trying to use the <code>
tag in a markdown cell of an ipython notebook. However the expected styling behavior is being over written:
I've tried:
<style>
definition within the cell containing the <code>
tag: doesn't work<code>
tag: this worksAnyone know how I prevent this style from being over-written?
答案 0 :(得分:0)
看起来我使用了错误的标签来定义css;我跟着the guide here,然后用
设置CSS样式.rendered_html code {
padding:2px 4px;
font-size: 90%;
color: #c7254e;
background-color: #f9f2f4;
border-radius: 4px;
}