Skip to content

kipwise/python-markdown-slack

Repository files navigation

python-markdown-slack

slack markdown extension for Python-Markdown https://github.com/Python-Markdown/markdown

Installation

  • $ pip install git+git://github.com/kipwise/python-markdown-slack.git#egg=python-markdown-slack
  • Try the following codes
  import markdown
  from python_markdown_slack import PythonMarkdownSlack
  result = markdown.markdown('... Some *bold*', extensions=[PythonMarkdownSlack()])
  print(result) #=> <p>... Some <strong>bold</strong></p>

Test script

  • python test.py

For development of the library

    1. $ git clone git@github.com:kipwise/python-markdown-slack.git
    1. $ python setup.py develop
    1. $ python learnExtension.py

Reference:

Powered By: