django-markdown2 : Markdown parser for Django

 

hdknr@LennyOne:~/django$ python Application/apps.py django-markdown2
git clone  git://github.com/svetlyak40wt/django-markdown2.git django-markdown2

hdknr@LennyOne:~/django/django-markdown2$ sudo python setup.py install
running install
running bdist_egg
running egg_info
creating django_markdown2.egg-info
writing requirements to django_markdown2.egg-info/requires.txt
writing django_markdown2.egg-info/PKG-INFO
writing top-level names to django_markdown2.egg-info/top_level.txt
writing dependency_links to django_markdown2.egg-info/dependency_links.txt
writing manifest file ‘django_markdown2.egg-info/SOURCES.txt’
reading manifest file ‘django_markdown2.egg-info/SOURCES.txt’
writing manifest file ‘django_markdown2.egg-info/SOURCES.txt’
installing library code to build/bdist.linux-i686/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/django_markdown2
copying django_markdown2/__init__.py -> build/lib/django_markdown2
creating build/lib/django_markdown2/templatetags
copying django_markdown2/templatetags/__init__.py -> build/lib/django_markdown2/templatetags
copying django_markdown2/templatetags/md2.py -> build/lib/django_markdown2/templatetags
creating build/bdist.linux-i686
creating build/bdist.linux-i686/egg
creating build/bdist.linux-i686/egg/django_markdown2
creating build/bdist.linux-i686/egg/django_markdown2/templatetags
copying build/lib/django_markdown2/templatetags/__init__.py -> build/bdist.linux-i686/egg/django_markdown2/templatetags
copying build/lib/django_markdown2/templatetags/md2.py -> build/bdist.linux-i686/egg/django_markdown2/templatetags
copying build/lib/django_markdown2/__init__.py -> build/bdist.linux-i686/egg/django_markdown2
byte-compiling build/bdist.linux-i686/egg/django_markdown2/templatetags/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-i686/egg/django_markdown2/templatetags/md2.py to md2.pyc
byte-compiling build/bdist.linux-i686/egg/django_markdown2/__init__.py to __init__.pyc
creating build/bdist.linux-i686/egg/EGG-INFO
copying django_markdown2.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO
copying django_markdown2.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying django_markdown2.egg-info/dependency_links.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying django_markdown2.egg-info/requires.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying django_markdown2.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents…
creating dist
creating ‘dist/django_markdown2-0.1.4-py2.5.egg’ and adding ‘build/bdist.linux-i686/egg’ to it
removing ‘build/bdist.linux-i686/egg’ (and everything under it)
Processing django_markdown2-0.1.4-py2.5.egg
Copying django_markdown2-0.1.4-py2.5.egg to /usr/lib/python2.5/site-packages
Adding django-markdown2 0.1.4 to easy-install.pth file

Installed /usr/lib/python2.5/site-packages/django_markdown2-0.1.4-py2.5.egg
Processing dependencies for django-markdown2==0.1.4
Searching for markdown2-with-blackjack
Reading http://pypi.aartemenko.com
Best match: markdown2-with-blackjack 1.0.1.12a
Downloading http://pypi.aartemenko.com/markdown2-with-blackjack-1.0.1.12a.tar.gz
Processing markdown2-with-blackjack-1.0.1.12a.tar.gz
Running markdown2-with-blackjack-1.0.1.12a/setup.py -q bdist_egg –dist-dir /tmp/easy_install-rAqgW1/markdown2-with-blackjack-1.0.1.12a/egg-dist-tmp-x2kPvg
zip_safe flag not set; analyzing archive contents…
markdown2: module references __file__
Adding markdown2-with-blackjack 1.0.1.12a to easy-install.pth file
Installing markdown2 script to /usr/bin

Installed /usr/lib/python2.5/site-packages/markdown2_with_blackjack-1.0.1.12a-py2.5.egg
Finished processing dependencies for django-markdown2==0.1.4

hdknr@LennyOne:~$ python
Python 2.5.2 (r252:60911, Jan  4 2009, 17:40:26)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import markdown2
>>> dir()
[‘__builtins__’, ‘__doc__’, ‘__name__’, ‘markdown2’]
>>> dir(markdown2)
[‘DEBUG’, ‘DEFAULT_TAB_WIDTH’, ‘Markdown’, ‘MarkdownError’, ‘MarkdownWithExtras’, ‘_NoReflowFormatter’, ‘__author__’, ‘__builtins__’, ‘__doc__’, ‘__file__’, ‘__name__’, ‘__version__’, ‘__version_info__’, ‘_curry’, ‘_dedent’, ‘_dedentlines’, ‘_escape_hash’, ‘_hash_text’, ‘_hr_tag_re_from_tab_width’, ‘_memoized’, ‘_regex_from_encoded_pattern’, ‘_test’, ‘_unicode_decode’, ‘_xml_encode_email_char_at_random’, ‘_xml_oneliner_re_from_tab_width’, ‘ch’, ‘cmdln_desc’, ‘codecs’, ‘g_escape_table’, ‘log’, ‘logging’, ‘main’, ‘markdown’, ‘markdown_path’, ‘md5’, ‘optparse’, ‘os’, ‘pprint’, ‘random’, ‘re’, ‘sys’]

hdknr@LennyOne:~/django/django-markdown2$ ls -al `which markdown2`
-rwxr-xr-x 1 root root 242 2009-07-14 14:18 /usr/bin/markdown2

hdknr@LennyOne:~/django/django-markdown2$ markdown2 ../django-cms/README.md  >> ../docs/django-cms-readme.html

image

カテゴリー: 未分類 パーマリンク

コメントを残す

以下に詳細を記入するか、アイコンをクリックしてログインしてください。

WordPress.com ロゴ

WordPress.com アカウントを使ってコメントしています。 ログアウト / 変更 )

Twitter 画像

Twitter アカウントを使ってコメントしています。 ログアウト / 変更 )

Facebook の写真

Facebook アカウントを使ってコメントしています。 ログアウト / 変更 )

Google+ フォト

Google+ アカウントを使ってコメントしています。 ログアウト / 変更 )

%s と連携中