文章出處

  打算使用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:\Python33\Lib\;C:\Python33\Lib\site-packages\
      
    • Select the System Variable PATH, click Edit.

    • Update the PATH by adding C:\Python33;C:\Python33\Lib\site-packages\PyQt4\bin; to the front of it, like so: PATH=C:\Python33;C:\Python33\Lib\site-packages\PyQt4\bin;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 \Python33\Tools\Scripts.
    • 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 ReText\icons 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:\python33\pythonw.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%\Python33\Lib;%curdrv%\Python33\Lib\site-packages
    set PATH=%curdrv%\Python33;%curdrv%\Python33\Lib\site-packages\PyQt4\bin;%PATH%
    REM Start ReText
    start /B %curdrv%\Python33\pythonw.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.

文章列表


不含病毒。www.avast.com
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 大師兄 的頭像
    大師兄

    IT工程師數位筆記本

    大師兄 發表在 痞客邦 留言(0) 人氣()