Use Org to publish the selected content to an HTML page

Source: Internet
Author: User
I usually take notes based on org. If I encounter something that may be useful but easy to forget in the future, I will throw it into Org. It took a long time and accumulated a lot. The org file looked messy. A lot of content was pulled from books and online and put together. It took a long time and it was difficult to have a systematic system. So, after accumulating for a certain extent, I will sort some content Article And publish it to a blog, just like a diary, to facilitate searching for relevant materials in future work.
During the sorting process, I wrote some entries in org as the source of blog articles, and then posted them to a dedicated blog publishing tool (such as scribefire and zoundry Raven) published to the blog built by WordPress (although I can use the org or muse mode of Emacs, I still feel that dedicated WordPress is more suitable for blog systems !). In this way, the blog has a copy of the information that can be accessed anytime, anywhere, and the org also saves a copy (do not say that I am too careful, note data is the most important, I used to be annoyed that I couldn't find a note on the hard disk ).
However, I really like the Emacs editing tool. It is really hard for me to layout and edit it in WordPress or its publishing tool! Without many customized shortcut keys, you can only go without running it! In general, there are two troubles in this process:

Copy the written text to a special blog publishing tool, and you need to re-typeset it, including the size and indentation of the text,Code.
You need to re-add rich text elements such as hyperlinks.

Every time you take such a tedious step, you are tired and prone to errors!
If you can write all the things in Emacs org at one time, directly publish them as HTMLSource codeI can directly copy the source code to the blog publishing tool for publishing. How nice it is!
Emacs org provides almost all of the functions you can think of, and publishing to HTML pages is no exception!
After editing the org document, select the content to be released and use the command

C-u m-x org-export-region-as-html

Or shortcut key

C-U c-e r

You can publish this part of content into the source code of HTML. The rest is to copy the source code to the WordPress publishing tool. Now the process is much simpler and more beautiful layout!
PS: Use the command M-x org-export-region-ad-HTML to add [...]

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.