zoukankan      html  css  js  c++  java
  • markdown编辑器安装

      打算使用MarkDown了,打算整理自己的知识了。

      多年以前,喜欢将自己看到好东西,转载在博客。或者将遇到过的问题以及解决方案,记录在博客。06毕业后为了生活折腾,Tom网上的博客无暇东顾,等稳定闲下心来,重游旧地,怀往昔,念今朝,感叹一切资料付诸东流,无可奈何花落去。

      Tom博客的经历,使我将博客转移到了百度空间,对百度的信赖与网站速度是选择理由。可惜只是两年,百度空间的后续迭代,在自定义布局上改变很大,也有了更多干扰,08年之后基本就弃之不用。

      而近几年来,Markdown在网络上得到了广泛的使用,也逐渐流行开来,很多网站及平台也提供了支持。它的语法简洁明了、学习容易,而且功能比纯文本更强。使用Markdown,结合博客客户端,以及GIT文档管理,在本地、远程、发布之间所心所欲,也更加安全。

    Markdown 语法教程:

      http://daringfireball.net/projects/markdown/syntax

      http://jianshu.io/p/1e402922ee32

    两个GIT文档资源:

      https://github.com/adam-p/markdown-here.wiki.git

      git://gitcafe.com/riku/Markdown-Syntax-CN.git

    Markdown 免费编辑器

    Windows 平台

    Linux 平台

    Mac 平台

    在线编辑器

    浏览器插件

    高级应用

    另外:vim、pycharm 都有很好的markdown 插件,有兴趣可以一试。

    retext File:http://sourceforge.net/projects/retext/files/

    retext code: http://sourceforge.net/p/retext/git/ci/master/tree/

     

    以下转载:http://www.cnblogs.com/dubaokun/p/3555738.html

    打算使用MarkDown了,群友推荐使用ReText,基于Python的,同时依赖了Python的几个包,通过easystall可以方便地安装,同时制作了快捷启动方式,网上找了篇文章以备忘。

    Installation

    1. Download and install the latest version of Python (3.3.0: x86 or amd64).
    2. Download and install PyQt for your Python version from riverbankcomputing.co.uk.
    3. Time to update your computer's Environmental Variables:

      • Click Start, right-click My Computer and select Properties.
      • Click Environment Variables.
      • For System Variables, click New. Then add:

        PYTHONPATH=C:Python33Lib;C:Python33Libsite-packages
        
      • Select the System Variable PATH, click Edit.

      • Update the PATH by adding C:Python33;C:Python33Libsite-packagesPyQt4in; to the front of it, like so: PATH=C:Python33;C:Python33Libsite-packagesPyQt4in;etc.
    4. Download and run distribute_setup.py which will install distribute package, which provides easy_installtool.

    5. Time to install additional Python libraries.

      • Select Start -> Run cmd then cd Python33ToolsScripts.
      • Enter:

        easy_install Pygments
        easy_install ElementTree
        easy_install Markdown
        easy_install docutils
        easy_install Markups
        
    6. Download and unpack ReText

    7. Download and unpack ReText icons pack
    8. Place the unpacked icons into the ReTexticons folder
    9. Run cmd then cd to the ReText folder. Then enter: python3 retext.py

    Creating a Launch Shortcut

    If you wish to ReText to have a Shortcut to start it. Then you can pin it to your Start menu, copy to your Desktop or Quick Launch, etc.

    For local installs

    1. Right-click drag-n-drop the retext.py and select "Create shortcuts here"
    2. Adjust the properties of the shortcut
    3. Change the Shortcut tab: Target: C:python33pythonw.exe retext.py's path ; Run = minimized ; Change Icon (to whatever you like).
    4. Change the General tab: rename it to "ReText"

    If you wish for the python shell box to not appear, you should follow the USB Stick Batch file instructions at the moment.

    For USB Sticks

    1. Copy C:python33 to USB Stick, say U:python33
    2. Put ReText on the stick
    3. Create the following BAT file: retext.bat

      REM ReText Startup batch file
      REM -------------------------
      REM determine drive letter of batchfile
      for /f "delims=" %%d in ('cd') do set curdrv=%%d
      echo %curdrv%
      REM Set ENVs using current drive letter if ENVs not set for USB Sticks
      REM REM them out if you have the ENVs set
      set PYTHONPATH=%curdrv%Python33Lib;%curdrv%Python33Libsite-packages
      set PATH=%curdrv%Python33;%curdrv%Python33Libsite-packagesPyQt4bin;%PATH%
      REM Start ReText
      start /B %curdrv%Python33pythonw.exe %CD%retext.py
      
    4. Right-click drag-n-drop the retext.bat and select "Create shortcuts here"

    5. Adjust the properties of the shortcut
    6. Change the Shortcut tab: Run = minimized ; Change Icon (to whatever you like)
    7. Change the General tab: rename it to "ReText"

    Notables

    • Install performed without a proxy. easy_install requires an internet connection. You're on your own dealing with a proxy. As there's really no Registry Entries, you could install else where and copy to USB Stick and create the batch file.
    • Tested on Windows XP 32-bit. Untested with ActiveState Python, so adjust your steps accordingly.
  • 相关阅读:
    设计模式学习笔记二:面向对象基础二
    设计模式学习笔记二:面向对象基础一
    设计模式学习笔记四:工厂方法(Factory Method)
    设计模式学习笔记六:.NET反射工厂
    设计模式学习笔记七:常用设计模式原则总结
    设计模式学习笔记二:面向对象基础五之集合和泛型
    设计模式学习笔记一:UML类图
    linq学习笔记(1):c#3.0新特性(2)
    Android系列讲座(1):Notification 与状态栏信息
    《Android/OPhone 开发完全讲义》目录
  • 原文地址:https://www.cnblogs.com/kylinfish/p/3843084.html
Copyright © 2011-2022 走看看