小编ern*_*est的帖子

#+NAME 和 #+LABEL 在组织模式下有什么区别?

#+CAPTION: kernel version
#+LABEL: fig:myfigure
#+NAME: fig:myfigure
[[/home/victor/myblog/pic4.png]]
Run Code Online (Sandbox Code Playgroud)

在组织模式下,似乎#+LABEL#+NAME都用于交叉引用。它们之间有什么区别?

emacs org-mode

5
推荐指数
1
解决办法
367
查看次数

公司模式可以在组织模式下完成我的代码吗?

我需要在组织模式下编辑源代码。

#+BEGIN_SRC cpp
void elimDups(vector<string> &words)
{
    sort(words.begin(), words.end());
    auto end_unique = unique(words.begin(), words.end());
    words.erase(end_unique, words.end());
}
#+END_SRC
Run Code Online (Sandbox Code Playgroud)

在代码块中,没有代码完成。

是否可以在组织模式下的代码块中使用代码完成?

在此输入图像描述

emacs org-mode

3
推荐指数
1
解决办法
1453
查看次数

标签 统计

emacs ×2

org-mode ×2