Extension to python-markdown to support LaTeX (rather than html) output.
Authored by Rufus Pollock: <http://www.rufuspollock.org/>
Usage:
1. Command Line. A script entitled markdown2latex.py is automatically installed. For details of usage see help:
$ markdown2latex.py -h
As a python-markdown extension:
>>> import markdown >>> md = markdown.Markdown(None, extensions=['latex']) >>> # text is input string ... >>> latex_out = md.convert(text)
Directly as a module (slight inversion of std markdown extension setup):
>>> import markdown >>> import mdx_latex >>> md = markdown.Markdown() >>> latex_mdx = mdx_latex.LaTeXExtension() >>> latex_mdx.extendMarkdown(md, markdown.__dict__) >>> out = md.convert(text)
History
Version: 1.0 (November 15, 2006)
First working version (compatible with markdown 1.5)
Includes support for tables
Version: 1.1 (January 17, 2007)
Support for verbatim and images
Version: 1.2 (June 2008)
Refactor as an extension.
Make into a proper python/setuptools package.
Tested with markdown 1.7 but should work with 1.6 and (possibly) 1.5 (though pre/post processor stuff not as worked out there)
- Version 1.3: (July 2008)
Improvements to image output (width)
- Version 1.3.1: (August 2009)
Tiny bugfix to remove duplicate keyword argument and set zip_safe=False
Add [width=\textwidth] by default for included images
Metadata
Release files for markdown2latex 1.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| markdown2latex-1.3.1.tar.gz | 9.0 kB | Without provenance | Details |
Release files / markdown2latex-1.3.1.tar.gz
| Download URL | markdown2latex-1.3.1.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ba956b4b6553f8e8b41d26ea5b1989b18d17e83965abc5b62a1962632663e49
|
|
BLAKE2b-256 checksum How to use checksums |
510624ae86b5c3e8267aebdb10a06517e045d198e7536987d53c6b7fff4b885f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for markdown2latex 1.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.