hugo使用even主题,代码片段居右问题?

org

#1

org-mode中

#+BEGIN_SRC objc
#pragma mark - requestAPI
-(void)requestToShowContent;
#+END_SRC

使用org-mode转为md格式,导出到hugo中出现:


#2
# Syntax highlighting by Chroma. 
# NOTE: Don't enable `highlightInClient` and `chroma` at the same time!
pygmentsOptions = "linenos=table"
pygmentsCodefences = true
pygmentsUseClasses = true
pygmentsCodefencesGuessSyntax = true
# 下边这项改成false试试
highlightInClient = false

#3

嗯, 解决了居右的问题.不过怎么补救语法高亮?


#4

pygments那几项设置为true就好了.

要么pygments设置为flase, highlightInClient为true


#5

有效果了,谢谢了.