org-mode中
#+BEGIN_SRC objc
#pragma mark - requestAPI
-(void)requestToShowContent;
#+END_SRC
使用org-mode转为md格式,导出到hugo中出现:
org-mode中
#+BEGIN_SRC objc
#pragma mark - requestAPI
-(void)requestToShowContent;
#+END_SRC
使用org-mode转为md格式,导出到hugo中出现:
# 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
嗯, 解决了居右的问题.不过怎么补救语法高亮?
pygments那几项设置为true就好了.
要么pygments设置为flase, highlightInClient为true
有效果了,谢谢了.