zoukankan      html  css  js  c++  java
  • 在emacs上使用博客园的代码功能

    testofcnblogs

    testofcnblogs

    1 在emacs的org-mode中中使用cnblogs的代码功能

    经常用emacs+org-mode写文章直接导出html文件发布,可以这样使用cnblogs的代码功能:

    #+begin_html
      <div class="cnblogs_Highlighter">
      <pre class="cpp">
      int main()
      {
        return 0;
      }
      </pre>
      </div>
    #+end_html
    

    效果如下:

      int main()
      {
        return 0;
      }
      

    Author: Hu Wenbiao <huwenbiao1989@gmail.com>

    Date: 2011-11-27 00:20:10 CST

    HTML generated by org-mode 6.33x in emacs 23

  • 相关阅读:
    数组字符串
    return语句
    函数
    js流程控制语句
    js数据类型
    精进:如何成为一个很厉害的人---书摘(转)
    生成随机的数字和字母组合
    modelAndView重定向到外网
    mysql. 替换数据库中某个字段
    java中对于时间的处理
  • 原文地址:https://www.cnblogs.com/Open_Source/p/2264756.html
Copyright © 2011-2022 走看看