Effective STL 笔记 -- Item 9: Choose carefully among erasing options
How to omit h1 title heading in HTML export

Introduction to MWB Minor Mode

tubo posted @ 2014年9月03日 00:11 in 未分类 , 473 阅读
Introduction to MWB Minor Mode

Table of Contents

1 Introduction

MWB stands for "MetaWeblog", it is an submode for org mode and can be used to publish org files to meta web blog.

It is based on CnBlog, and was modified to port to other meta web blogs.

2 Usage

Download this package from github and put into PATH , then add following codes to your init file.

(add-to-list 'load-path PATH)
(autoload 'mwb-minor-mode "mwb" "mwb minor mode" t)
(autoload 'mwb-new-post "mwb" "new post" t)

If you want to turn on mwb-minor-mode automatically for some mode (org-mode, for example), you can add following line:

(add-to-list 'org-mode-hook 'mwb-minor-mode)

Then, open an org file, and stroke: M-x: mwb-setup-blog, and follow the instructions.

When finished setting up, edit an org file, and stroke: M-x: mwb-new-post, and then waits for the post to be done.

That's all.

登录 *

loading captcha image...
or Ctrl+Enter