zoukankan      html  css  js  c++  java
  • Introduction to MWB Minor Mode

    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.

  • 相关阅读:
    一天一个设计模式(15)——中介者模式
    一天一个设计模式(14)——迭代器模式
    一天一个设计模式(13)——命令模式
    一天一个设计模式(12)——责任链模式
    一天一个设计模式(11)——代理模式
    《windows程序设计》学习_3.4:实现雷区翻转
    《windows程序设计》学习_3.3:利用xp扫雷资源
    《windows程序设计》学习_3.2:左键的使用
    《windows程序设计》学习_3.1:画出雷区,左键的使用
    《windows程序设计》学习_2.2:初识消息,双键的使用
  • 原文地址:https://www.cnblogs.com/yangyingchao/p/3396630.html
Copyright © 2011-2022 走看看