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.

  • 相关阅读:
    [Codeforces721E]Road to Home
    [Codeforces513E2]Subarray Cuts
    [CodeForces332E]Binary Key
    [HDU4585]Shaolin
    [HDU3726]Graph and Queries
    [BZOJ3224]普通平衡树
    [BZOJ3173]最长上升子序列
    [POJ2985]The k-th Largest Group
    PHP一句话
    体验VIP版本灰鸽子,哈哈,拿到了老师的病毒教程
  • 原文地址:https://www.cnblogs.com/yangyingchao/p/3396630.html
Copyright © 2011-2022 走看看