比如列名cate_id等有下划线的, 那么导出成HTML后就是乱的。
大家帮忙看看啥问题,谢谢。
默认 _
用作下标,^
用作上标,所以
x_1^2 - x_2^2 = (x_1 + x_2) * (x_1 - x_2)
会被导出为:
x12 - x22 = (x1 + x2) * (x1 - x2)
有选项可以控制这个行为:
org-export-with-sub-superscripts is a variable defined in `ox.el'.
Its value is t
Documentation:
Non-nil means interpret "_" and "^" for export.
#+OPTIONS: ^:nil
文档:
`^:'
Toggle TeX-like syntax for sub- and superscripts. If you write
"^:{}", `a_{b}' will be interpreted, but the simple `a_b' will be
left as it is (`org-export-with-sub-superscripts').
搞定了,多谢。。。