معرفی شرکت ها


Markdown2docx-0.1.0


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Convert Markdown to docx with token substitution and command output substitution
ویژگی مقدار
سیستم عامل POSIX :: Linux
نام فایل Markdown2docx-0.1.0
نام Markdown2docx
نسخه کتابخانه 0.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Jeremy Lee
ایمیل نویسنده jlee2.71818@gmail.com
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/Markdown2docx/
مجوز MIT
# Markdown2docx Table of Contents ## Purpose Markdown2docx will take a plain text markdown document and create a Word .docx file. #### Minimal Usage ``` from Markdown2docx import Markdown2docx project = Markdown2docx('README') project.eat_soup() project.save() ``` You can optionally save a copy in HTML format alongside the .docx output, and print out the default styles. ``` from Markdown2docx import Markdown2docx project = Markdown2docx('README') project.eat_soup() project.write_html() # optional print(type(project.styles())) for k, v in project.styles().items(): print(f'stylename: {k} = {v}') project.save() ``` #### default styles These are the default styles applied to the document: * stylename: style_table = {'Medium Shading 1 Accent 3'} * stylename: style_quote = {'Body Text'} * stylename: style_body = {'Body Text'} * stylename: style\_quote\_table = {'Table Grid'} * stylename: toc_indicator = {'contents'} ## Token substitution and commands For details about token substitution, refer to hello.md ## Create a table of contents. The TOC will be inserted on the first and only the first match where a paragraph contains the TOC indicator. By default this is literally the word 'contents'. When the user opens the .docx document, it will display 'Right-click to update field.' # For developers. Use a virtualenv. For extra dev tools, use: ``` bash $ pip install -e .[dev] ```


نیازمندی

مقدار نام
>=0.0.1 bs4
- pillow
>=0.8.11 python-docx
>=2.4.2 markdown2
>=3.7 pytest


نحوه نصب


نصب پکیج whl Markdown2docx-0.1.0:

    pip install Markdown2docx-0.1.0.whl


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

    pip install Markdown2docx-0.1.0.tar.gz