Metadata-Version: 2.1
Name: mdtex2html
Version: 0.9.9
Summary: library to convert Markdown with included LaTeX-Formulas to HTML with MathML
Home-page: https://github.com/polarwinkel/mdtex2html
Author: Dirk Winkel
Author-email: it@polarwinkel.de
License: UNKNOWN
Project-URL: Bug Reports, https://github.com/polarwinkel/mdtex2html/issues
Project-URL: Source, https://github.com/polarwinkel/mdtex2html
Description: # mdtex2html
        python3-library to convert Markdown with included LaTeX-Formulas to HTML with MathML
        
        ## What is mdtex2html
        
        `mdtex2html` is a library to convert (Github-flavored) Markdown-Code with included LaTex-formulas to HTML-Source. The formulas are converted to MathML.
        
        An inline-formula can either start and end with `$` or it can start with `\(` and end with `\)`, according to valid LaTeX-Code. Block-formulas either start and end with `$$` or start with `\[` and end with `\]`.
        
        An example that `mdtex2html` will convert:
        
        ```
        # Example-Title
        
        TeX-Formula: $\sqrt2=x^2 \Rightarrow x=\sqrt{\sqrt{2}}$
        
        - This
        - is
            - a List with `inline-Code`
        ```
        
        ## How to use mdtex2html
        
        install it, i.e. using pip:
        
        `python3 -m pip install mdtex2html`
        
        then in python import in your code with
        
        `from mdtex2html import mdTeX2html`
        
        and convert your mdTeX with something like
        
        `mdTeX2html.convert('- Hello ${\sqrt{World}}^2$!')`
        
        passing any mdTeX-Code to `mdTeX2html.convert()`.
        
        ## Dependencies
        
        This depends on:
        
        - [latex2html](https://github.com/roniemartinez/latex2mathml)
        - [Python-Markdown](https://github.com/Python-Markdown/markdown)
        
        The dependencies will be installed when installing using pip.
        
        ## Limitations
        
        The Firefox browser will display the result smoothly, as well as Safari (according to user reports).
        
        Just be aware that the Chromium-engine (Browsers: Chrome, Edge, ...) still is not able to render MathML properly, but rumors say that in 2020 work has started again to make that happen, so maybe you want to check the status there.
        
        ## Credits
        
        Special thanks to [Ronie Martinez](https://github.com/roniemartinez) for creating [latex2html](https://github.com/roniemartinez/latex2mathml)!
        
        This library is just a few lines of code added to his work and to [Python-Markdown](https://github.com/Python-Markdown/markdown).
        
Keywords: TeX,LaTeX,Markdown,HTML markdown2html,latex2mathml
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Topic :: Text Processing :: Markup
Classifier: Topic :: Text Processing :: Markup :: HTML
Classifier: Topic :: Text Processing :: Markup :: LaTeX
Classifier: Topic :: Text Processing :: Markup :: Markdown
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.7, <4
Description-Content-Type: text/markdown
