How to enable the document anchor link for Emacs muse and org

Source: Internet
Author: User

When you use Emacs muse or Org to write a document, you often need to use internal links, especially to link to a chapter. In this case, enabling fixed anchor is the most appropriate method.

Muse anchor

You often need to link the documents written by Emacs muse internally, that is, link an anchor. You can set an anchor link using the following method:

# Open-Ubuntu-ssh

Place the preceding statement anywhere in the document, and then generate an anchor link in the muse document using the following method:

Unzip unzip test.html # Open-Ubuntu-ssh] [test anchor link]

Of course, if you want to link the anchor of other files, add the corresponding file name.

Org Mode

Emacs org mode can also easily implement the internal anchor link function of the document. Similar to muse, the following statement can generate the corresponding anchor link:

# <My target>

Place the above sentence anywhere in the document to set the document's anchor connection. As for the form of the target link, it is the same as the normal link.

Comparison

The better way to design org mode than muse mode is: if you do not set the anchor link in the form of # my target, in addition, if you still generate a link in the form of an anchor link, org will automatically search for the closest anchor link based on the subtitle keyword of your document (of course, is this method troublesome for Chinese titles ?).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.