معرفی شرکت ها


django-ml_markdown-0.1.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A django app that parse markdown to html
ویژگی مقدار
سیستم عامل -
نام فایل django-ml_markdown-0.1.0
نام django-ml_markdown
نسخه کتابخانه 0.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Max Lothaire
ایمیل نویسنده maxlothaire@gmail.com
آدرس صفحه اصلی https://github.com/maxlothaire/django-ml_markdown
آدرس اینترنتی https://pypi.org/project/django-ml_markdown/
مجوز BSD
django-ml\_markdown =================== This django app provides some features for handling markdown in yout django based website: - template\_tags for parsing Markdown code to html and cleaning it - A form field for editing markdown code and preview the html output Installation ------------ Dependencies ~~~~~~~~~~~~ This app use `misaka <https://github.com/FSX/misaka>`__, a binding for hoedown that use CFFI. You may need to install some package in order to build cffi On fedora (adapt for your on system or the version of python you xant to use) .. code:: bash dnf install libffi-devel python3-devel # on fedora, you may need to install this dnf install redhat-rpm-config The actual installation ~~~~~~~~~~~~~~~~~~~~~~~ Just install it with pip .. code:: bash pip install django-ml_markdown Usage ----- settings.py ~~~~~~~~~~~ Add the path to the configuration class in INSTALLED\_APPS .. code:: python INSTALLED_APP.append( 'ml_markdown.apps.MlMarkdownConfig' ) you can also inherit this class for custom settings. See the documentation for details. Use in templates ~~~~~~~~~~~~~~~~ You can use one of this filters in your templates: - **to\_html**: parse markdown code to html without cleaning it. - **clean**: clean html code with the white list provides as arguments or in the class used for configuration - **to\_cleaned\_html**: shortcut for\ ``| to_html | clean`` Some over filter can be found in the documentation.


نیازمندی

مقدار نام
- bleach
- misaka
- pygments


نحوه نصب


نصب پکیج whl django-ml_markdown-0.1.0:

    pip install django-ml_markdown-0.1.0.whl


نصب پکیج tar.gz django-ml_markdown-0.1.0:

    pip install django-ml_markdown-0.1.0.tar.gz