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 [...]