Org-mode 简明手册 - open source - 博客园

embrace

embrace-add(,ea)

Documentation Two Emacs manuals, the GNU Emacs manual and An Introduction to Programming in Emacs Lisp, can be purchased in printed form from the FSF store.

These manuals, along with the Emacs Lisp Reference Manual and several other manuals documenting major modes and other optional features, can also be read online. They are also distributed with Emacs in Info format; type C-h i in Emacs to view them.

GNU Emacs manual: Read Online or Purchase An Introduction to Programming in Emacs Lisp: Read Online or Purchase Emacs Lisp Reference Manual: Read Online Other Emacs manuals: Read Onlin_e The Emacs distribution includes the full source code for the manuals, as well as several Emacs Reference Cards in various languages.

Asking for help To ask for \{ help\ } with GNU Emacs, use the mailing list help-gnu-emacs@gnu.org or the newsgroup gnu.emacs.help. The mailing list and newsgroup are linked: messages posted on one appear on the other as well.

Reporting bugs To report bugs, or to <button>contribute</button> fixes and improvements, use the built-in Emacs bug reporter (M-x report-emacs-bug) or send email to bug-gnu-emacs@gnu.org. You can browse our bug database at debbugs.gnu.org. For more information on contributing, see the CONTRIBUTE file (also distributed with Emacs). To report bugs, or to <button>contribute</button> fixes and improvements, use the built-in Emacs bug reporter (M-x report-emacs-bug) or send email to bug-gnu-emacs@gnu.org. You can browse our bug database at debbugs.gnu.org. For more information on contributing, see the CONTRIBUTE file (also distributed with Emacs). To report bugs, or to <button>contribute</button> fixes and improvements, use the built-in Emacs bug reporter (M-x report-emacs-bug) or send email to bug-gnu-emacs@gnu.org. You can browse our bug database at debbugs.gnu.org. For more information on contributing, see the CONTRIBUTE file (also distributed with Emacs). TodoTo report bugs, or to <button>contribute</button> fixes and improvements, use the built-in Emacs bug reporter (M-x report-emacs-bug) or send email to bug-gnu-emacs@gnu.org. You can browse our bug database at debbugs.gnu.org. For more information on contributing, see the CONTRIBUTE file (also distributed with Emacs).

For all other queries, consult the list of Emacs-related mailing lists on savannah.gnu.org and the complete list of GNU mailing lists on lists.gnu.org. See Get Help with GNU Software for help with GNU software in general.@@html:</kbd>@@__

1
2
3
4
5
6
7
function test(a, b, c, d, e) {
  console.log('aaaaa = ' + a)
  console.log('aaaaa = ' + b)
  console.log('aaaaa = ' + c)
  console.log('aaaaa = ' + d)
  console.log('aaaaa = ' + e)
`}`

embrace-change(,ec)

embrace-delete(,ed)

emoji

🐱 🌵

ein, emacs-ipython-notebook

https://www.cheng92.com gccll/test

1
2
3
4
import numpy, math, matplotlib.pyplot as plt
%matplotlib inline
x = numpy.linspace(0, 2*math.pi)
plt.plot(x, numpy.sin(x))

latex

$f(x) = x^{2}$ (@1(@1j)j)

org

test

xxxxxxxxf

xxxxxx

aaa

aaa

删除线

$x^{2}$

xxx

名字性别

colorful text

red...xxx

red text...

blocks

comment..

TIP

tip….

Note

danger… danger… danger… danger… danger…

WARNING

warning…

xxx – demo xxx – demo xxx – demo xxx – demo xxx – demo xxx – demo xxx – demo

I love Emacs!

~example~
1
warn

center content

quote ….


octoicon:report Note that kbd:C-x_C-e evaluates a Lisp form!

show:GLOSSARY

badge:Thanks|for_reading tweet:https://github.com/alhassy/org-special-block-extras badge:|buy_me_a coffee|gray|https://www.buymeacoffee.com/alhassy|buy-me-a-coffee

link-here:solution Syntactically, (apply f '(x0 ... xN)) = (f x0 ... xN).

Ain't that cool?

demo block…

Are you excited to learn some Lisp? blue:Yes!

Pop-quiz: How does doc:apply work?

test example
test ~example~
test example
test example

restclient

1
2
GET https://api.github.com
User-Agent: Emacs Restclient

valign test

head 1

head 2

head 3

head 4
head 5

use bootstrap

buttons:

icons:

hugo-test

使用教程

增加搜索功能

  1. 方案一

    http://qiniu.ii6g.com/img/20200912174456.png

    这个是增加了一个页面,在这个页面里面进行搜索,不是很友好,我希望的是在当前页面组 好是弹框+下拉列表形式进行搜索。

    搜索结果: http://qiniu.ii6g.com/img/20200912174626.png

  2. 方案二

    这个貌似还不错,值得一试。

网易云音乐

增加代码区复制按钮

  1. 修改 themes/even/assets/js/main.js 增加 addCopyButton 原理就是,将 pre.chroma>code 里面的文本全拷贝到一个临时创建的 textarea 标签里面,然后 调用 document.execCommand('copy') 将内容拷贝到剪切板。

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    
    
      function addCopyButton() {
        //用 div 包裹 figure 便于定位
        $(".src .highlight").wrap('<div class="highlight-wrapper"></div>');
        //添加复制按钮
        $(".highlight").before(
          '<div class="copy-code btn btn-outline-secondary">复制</div>'
        );
    
        //为复制按钮添加click事件
        $(".copy-code").on("click", function () {
          //初始化
          $("textarea").remove("#targetId");
    
          //获取对应的代码
          var codeText = "";
          $(this)
            .next("div.highlight")
            .find("pre.chroma>code")
            .each(function (i) {
              // 过滤掉行号的那个 pre
              if (i > 0) {
                codeText += $(this).text() + "\n";
              }
            });
    
          //添加 <textarea> DOM节点,将获取的代码写入
          var target = document.createElement("textarea");
          target.style.opacity = 0;
          target.style.left = "-9999px";
          target.id = "targetId";
          $(this).append(target);
          target.textContent = codeText;
    
          //选中textarea内的代码
          target.focus();
          target.setSelectionRange(0, target.value.length);
    
          // 复制选中的内容
          document.execCommand("copy");
    
          //删除添加的节点
          $("textarea").remove("#targetId");
          $(this).html("成功");
          var thisCopied = $(this);
          setTimeout(function () {
            thisCopied.html("复制");
          }, 1200);
        });
      }
    
  2. 修改 themes/even/assets/sass/_partial/_post/_code.scss 增加按钮样式

1
2
3
  function test() {
    console.log('请复制我,好吗?')
  }
test使用的 begin_example
1
2
3
  function main(int argc, int* argv[]) {
    printf("%d, %s", 100, "hello world")
      }

header2

header3

header4

org-special-block-extras

doc:test

Are you excited to learn some Lisp? blue:Yes!

Pop-quiz: How does doc:apply work?

link-here:solution Syntactically, (apply f '(x0 ... xN)) = (f x0 ... xN).

Ain't that cool?


octoicon:report Note that kbd:C-x_C-e evaluates a Lisp form!

kbd:C-c_c_p

show:GLOSSARY

badge:Thanks|for_reading tweet:https://github.com/alhassy/org-special-block-extras badge:|buy_me_a_coffee|gray|https://www.buymeacoffee.com/alhassy|buy-me-a-coffee