././@PaxHeader0000000000000000000000000000003400000000000010212 xustar0028 mtime=1604424737.3620787 python-markdown-math-0.8/0000755000175000017500000000000000000000000015054 5ustar00dmitrydmitry././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1528890100.0 python-markdown-math-0.8/LICENSE0000644000175000017500000000273600000000000016071 0ustar00dmitrydmitryCopyright 2015-2017 Dmitry Shachnev . All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1528889696.0 python-markdown-math-0.8/MANIFEST.in0000644000175000017500000000015500000000000016613 0ustar00dmitrydmitryinclude README.md include changelog include LICENSE include test.py recursive-include test_data *.mkd *.html ././@PaxHeader0000000000000000000000000000003400000000000010212 xustar0028 mtime=1604424737.3620787 python-markdown-math-0.8/PKG-INFO0000644000175000017500000001164600000000000016161 0ustar00dmitrydmitryMetadata-Version: 2.1 Name: python-markdown-math Version: 0.8 Summary: Math extension for Python-Markdown Home-page: https://github.com/mitya57/python-markdown-math Author: Dmitry Shachnev Author-email: mitya57@gmail.com License: BSD 3-Clause License Description: [![Travis CI status](https://api.travis-ci.org/mitya57/python-markdown-math.svg)][Travis] [Travis]: https://travis-ci.org/mitya57/python-markdown-math Math extension for Python-Markdown ================================== This extension adds math formulas support to [Python-Markdown]. [Python-Markdown]: https://github.com/Python-Markdown/markdown Installation ------------ ### Install from PyPI ``` $ pip install python-markdown-math ``` ### Install locally Use `setup.py build` and `setup.py install` to build and install this extension, respectively. The extension name is `mdx_math`, so you need to add that name to your list of Python-Markdown extensions. Check [Python-Markdown documentation] for details on how to load extensions. [Python-Markdown documentation]: https://python-markdown.github.io/reference/#extensions Usage ----- To use this extension, you need to include [MathJax] library in HTML files, like: ```html ``` [MathJax]: https://www.mathjax.org/ Also, you need to specify a configuration for MathJax. Please note that most of standard configurations include `tex2jax` extension, which is not needed with this code. Example of configuration for MathJax 2.x: ```html ``` If you want to use MathJax 3.x, you need to teach it to understand 2.x-style `\n

' ``` Usage from the command line: ``` $ echo "\(e^x\)" | python3 -m markdown -x mdx_math

``` [upgrading documentation]: https://docs.mathjax.org/en/latest/upgrading/v2.html#math-script-example [Arithmatex]: https://facelessuser.github.io/pymdown-extensions/extensions/arithmatex/ Math Delimiters --------------- For inline math, use `\(...\)`. For standalone math, use `$$...$$`, `\[...\]` or `\begin...\end`. The single-dollar delimiter (`$...$`) for inline math is disabled by default, but can be enabled by passing `enable_dollar_delimiter=True` in the extension configuration. If you want to use [GitLab-style delimiters] (``$`...`$`` for inline math, and a code block-like `` ```math...``` `` syntax for standalone), use `use_gitlab_delimiters=True` configuration option. If you want to this extension to generate a preview node (which will be shown when MathJax has not yet processed the node, or when JavaScript is unavailable), use `add_preview=True` configuration option. [GitLab-style delimiters]: https://gitlab.com/gitlab-org/gitlab/blob/master/doc/user/markdown.md#math Notes ----- If you use [ReText](https://github.com/retext-project/retext), this extension is not needed as it is included by default. This extension also works with Katex. Use the following in your page ``: ```html ``` Platform: UNKNOWN Requires-Python: >=3.6 Description-Content-Type: text/markdown ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1591698367.0 python-markdown-math-0.8/README.md0000644000175000017500000000721400000000000016337 0ustar00dmitrydmitry[![Travis CI status](https://api.travis-ci.org/mitya57/python-markdown-math.svg)][Travis] [Travis]: https://travis-ci.org/mitya57/python-markdown-math Math extension for Python-Markdown ================================== This extension adds math formulas support to [Python-Markdown]. [Python-Markdown]: https://github.com/Python-Markdown/markdown Installation ------------ ### Install from PyPI ``` $ pip install python-markdown-math ``` ### Install locally Use `setup.py build` and `setup.py install` to build and install this extension, respectively. The extension name is `mdx_math`, so you need to add that name to your list of Python-Markdown extensions. Check [Python-Markdown documentation] for details on how to load extensions. [Python-Markdown documentation]: https://python-markdown.github.io/reference/#extensions Usage ----- To use this extension, you need to include [MathJax] library in HTML files, like: ```html ``` [MathJax]: https://www.mathjax.org/ Also, you need to specify a configuration for MathJax. Please note that most of standard configurations include `tex2jax` extension, which is not needed with this code. Example of configuration for MathJax 2.x: ```html ``` If you want to use MathJax 3.x, you need to teach it to understand 2.x-style `\n

' ``` Usage from the command line: ``` $ echo "\(e^x\)" | python3 -m markdown -x mdx_math

``` [upgrading documentation]: https://docs.mathjax.org/en/latest/upgrading/v2.html#math-script-example [Arithmatex]: https://facelessuser.github.io/pymdown-extensions/extensions/arithmatex/ Math Delimiters --------------- For inline math, use `\(...\)`. For standalone math, use `$$...$$`, `\[...\]` or `\begin...\end`. The single-dollar delimiter (`$...$`) for inline math is disabled by default, but can be enabled by passing `enable_dollar_delimiter=True` in the extension configuration. If you want to use [GitLab-style delimiters] (``$`...`$`` for inline math, and a code block-like `` ```math...``` `` syntax for standalone), use `use_gitlab_delimiters=True` configuration option. If you want to this extension to generate a preview node (which will be shown when MathJax has not yet processed the node, or when JavaScript is unavailable), use `add_preview=True` configuration option. [GitLab-style delimiters]: https://gitlab.com/gitlab-org/gitlab/blob/master/doc/user/markdown.md#math Notes ----- If you use [ReText](https://github.com/retext-project/retext), this extension is not needed as it is included by default. This extension also works with Katex. Use the following in your page ``: ```html ``` ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1604423536.0 python-markdown-math-0.8/changelog0000644000175000017500000000310700000000000016727 0ustar00dmitrydmitryVersion 0.8, 2020-11-03 ======================= * GitLab-style math blocks are now supported in nested environments such as lists. - Thanks to Ran Shaham for the contribution. * Tests now pass with Python-Markdown 3.3. Version 0.7, 2020-06-19 ======================= * This extension now requires Python ≥ 3.4 and Python-Markdown ≥ 3.0. * Fixed deprecation warnings with Python-Markdown 3.x. * Added support for GitLab-style delimiters. Version 0.6, 2018-06-13 ======================= * Include LICENSE and tests in the tarball. Version 0.5, 2018-05-03 ======================= * Re-upload with fixed metadata and description. Version 0.4, 2018-05-03 ======================= * Added AsciiMath support. To switch from LaTeX syntax to AsciiMath, set the “use_asciimath” configuration option to true. * The dollar sign can now be escaped when the “enable_dollar_delimiter” option is enabled (\$ produces $). * Inline math can now be used inside standalone math. Version 0.3, 2017-03-24 ======================= * Added “add_preview” configuration option, which adds preview nodes as recognized by MathJax before every script node. - Thanks to Antoine Amarilli and Danni Randeris for their initial work. * Added a test suite. * Documentation improvements. Version 0.2, 2015-12-05 ======================= * Fix compatibility with earlier Python-Markdown versions. - Thanks to Bryan A. Jones for the contribution. * Add installation instructions from PyPI. - Thanks to Drew Hubl for the contribution. Version 0.1, 2015-08-12 ======================= * Initial release. ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1604251660.0 python-markdown-math-0.8/mdx_math.py0000644000175000017500000001274400000000000017237 0ustar00dmitrydmitry# -*- coding: utf-8 -*- ''' Math extension for Python-Markdown ================================== Adds support for displaying math formulas using [MathJax](http://www.mathjax.org/). Author: 2015-2020, Dmitry Shachnev . ''' from xml.etree.ElementTree import Element from markdown.inlinepatterns import InlineProcessor from markdown.extensions import Extension from markdown.preprocessors import Preprocessor from markdown.util import AtomicString def _wrap_node(node, preview_text, wrapper_tag): preview = Element('span', {'class': 'MathJax_Preview'}) preview.text = AtomicString(preview_text) wrapper = Element(wrapper_tag) wrapper.extend([preview, node]) return wrapper class InlineMathPattern(InlineProcessor): def handleMatch(self, m, data): node = Element('script') node.set('type', self._content_type) node.text = AtomicString(m.group(2)) if self._add_preview: node = _wrap_node(node, m.group(0), 'span') return node, m.start(0), m.end(0) class DisplayMathPattern(InlineProcessor): def handleMatch(self, m, data): node = Element('script') node.set('type', '%s; mode=display' % self._content_type) if '\\begin' in m.group(1): node.text = AtomicString(m.group(0)) else: node.text = AtomicString(m.group(2)) if self._add_preview: node = _wrap_node(node, m.group(0), 'div') return node, m.start(0), m.end(0) class GitLabPreprocessor(Preprocessor): """ Preprocessor for GitLab-style standalone syntax: ```math math goes here ``` """ def run(self, lines): inside_math_block = False math_block_start = None math_blocks = [] for line_number, line in enumerate(lines): if line.strip() == '```math' and not inside_math_block: math_block_start = line_number inside_math_block = True if line.strip() == '```' and inside_math_block: math_blocks.append((math_block_start, line_number)) inside_math_block = False for math_block_start, math_block_end in reversed(math_blocks): math_lines = lines[math_block_start + 1:math_block_end] math_content = '\n'.join(math_lines) html = '\n' html %= (self._content_type, math_content) placeholder = self.md.htmlStash.store(html) lines[math_block_start:math_block_end + 1] = [placeholder] return lines class MathExtension(Extension): def __init__(self, *args, **kwargs): self.config = { 'enable_dollar_delimiter': [False, 'Enable single-dollar delimiter'], 'add_preview': [False, 'Add a preview node before each math node'], 'use_asciimath': [False, 'Use AsciiMath syntax instead of TeX syntax'], 'use_gitlab_delimiters': [False, 'Use GitLab-style $`...`$ delimiters'], } super(MathExtension, self).__init__(*args, **kwargs) def extendMarkdown(self, md): add_preview = self.getConfig('add_preview') use_asciimath = self.getConfig('use_asciimath') use_gitlab_delimiters = self.getConfig('use_gitlab_delimiters') content_type = 'math/asciimath' if use_asciimath else 'math/tex' inlinemathpatterns = ( InlineMathPattern(r'(?=30.3", "wheel"] ././@PaxHeader0000000000000000000000000000003400000000000010212 xustar0028 mtime=1604424737.3500786 python-markdown-math-0.8/python_markdown_math.egg-info/0000755000175000017500000000000000000000000023002 5ustar00dmitrydmitry././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1604424737.0 python-markdown-math-0.8/python_markdown_math.egg-info/PKG-INFO0000644000175000017500000001164600000000000024107 0ustar00dmitrydmitryMetadata-Version: 2.1 Name: python-markdown-math Version: 0.8 Summary: Math extension for Python-Markdown Home-page: https://github.com/mitya57/python-markdown-math Author: Dmitry Shachnev Author-email: mitya57@gmail.com License: BSD 3-Clause License Description: [![Travis CI status](https://api.travis-ci.org/mitya57/python-markdown-math.svg)][Travis] [Travis]: https://travis-ci.org/mitya57/python-markdown-math Math extension for Python-Markdown ================================== This extension adds math formulas support to [Python-Markdown]. [Python-Markdown]: https://github.com/Python-Markdown/markdown Installation ------------ ### Install from PyPI ``` $ pip install python-markdown-math ``` ### Install locally Use `setup.py build` and `setup.py install` to build and install this extension, respectively. The extension name is `mdx_math`, so you need to add that name to your list of Python-Markdown extensions. Check [Python-Markdown documentation] for details on how to load extensions. [Python-Markdown documentation]: https://python-markdown.github.io/reference/#extensions Usage ----- To use this extension, you need to include [MathJax] library in HTML files, like: ```html ``` [MathJax]: https://www.mathjax.org/ Also, you need to specify a configuration for MathJax. Please note that most of standard configurations include `tex2jax` extension, which is not needed with this code. Example of configuration for MathJax 2.x: ```html ``` If you want to use MathJax 3.x, you need to teach it to understand 2.x-style `\n

' ``` Usage from the command line: ``` $ echo "\(e^x\)" | python3 -m markdown -x mdx_math

``` [upgrading documentation]: https://docs.mathjax.org/en/latest/upgrading/v2.html#math-script-example [Arithmatex]: https://facelessuser.github.io/pymdown-extensions/extensions/arithmatex/ Math Delimiters --------------- For inline math, use `\(...\)`. For standalone math, use `$$...$$`, `\[...\]` or `\begin...\end`. The single-dollar delimiter (`$...$`) for inline math is disabled by default, but can be enabled by passing `enable_dollar_delimiter=True` in the extension configuration. If you want to use [GitLab-style delimiters] (``$`...`$`` for inline math, and a code block-like `` ```math...``` `` syntax for standalone), use `use_gitlab_delimiters=True` configuration option. If you want to this extension to generate a preview node (which will be shown when MathJax has not yet processed the node, or when JavaScript is unavailable), use `add_preview=True` configuration option. [GitLab-style delimiters]: https://gitlab.com/gitlab-org/gitlab/blob/master/doc/user/markdown.md#math Notes ----- If you use [ReText](https://github.com/retext-project/retext), this extension is not needed as it is included by default. This extension also works with Katex. Use the following in your page ``: ```html ``` Platform: UNKNOWN Requires-Python: >=3.6 Description-Content-Type: text/markdown ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1604424737.0 python-markdown-math-0.8/python_markdown_math.egg-info/SOURCES.txt0000644000175000017500000000243300000000000024670 0ustar00dmitrydmitryLICENSE MANIFEST.in README.md changelog mdx_math.py pyproject.toml setup.cfg setup.py test.py python_markdown_math.egg-info/PKG-INFO python_markdown_math.egg-info/SOURCES.txt python_markdown_math.egg-info/dependency_links.txt python_markdown_math.egg-info/entry_points.txt python_markdown_math.egg-info/requires.txt python_markdown_math.egg-info/top_level.txt test_data/beginend.html test_data/beginend.mkd test_data/beginend_preview.html test_data/inline.html test_data/inline_asciimath.html test_data/inline_asciimath.mkd test_data/inline_gitlab.mkd test_data/inline_inside_standalone.html test_data/inline_inside_standalone.mkd test_data/inline_latex.mkd test_data/inline_latex_escaped.html test_data/inline_latex_escaped.mkd test_data/inline_latex_inside_code.html test_data/inline_latex_inside_code.mkd test_data/inline_preview.html test_data/inline_tex.mkd test_data/inline_tex_disabled.html test_data/inline_tex_escaped.html test_data/inline_tex_escaped.mkd test_data/standalone.html test_data/standalone_gitlab.html test_data/standalone_gitlab.mkd test_data/standalone_gitlab_nested.html test_data/standalone_gitlab_nested.mkd test_data/standalone_latex.mkd test_data/standalone_latex_escaped.html test_data/standalone_latex_escaped.mkd test_data/standalone_preview.html test_data/standalone_tex.mkd././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1604424737.0 python-markdown-math-0.8/python_markdown_math.egg-info/dependency_links.txt0000644000175000017500000000000100000000000027050 0ustar00dmitrydmitry ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1604424737.0 python-markdown-math-0.8/python_markdown_math.egg-info/entry_points.txt0000644000175000017500000000007100000000000026276 0ustar00dmitrydmitry[markdown.extensions] mdx_math = mdx_math:MathExtension ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1604424737.0 python-markdown-math-0.8/python_markdown_math.egg-info/requires.txt0000644000175000017500000000001600000000000025377 0ustar00dmitrydmitryMarkdown>=3.0 ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1604424737.0 python-markdown-math-0.8/python_markdown_math.egg-info/top_level.txt0000644000175000017500000000001100000000000025524 0ustar00dmitrydmitrymdx_math ././@PaxHeader0000000000000000000000000000003400000000000010212 xustar0028 mtime=1604424737.3620787 python-markdown-math-0.8/setup.cfg0000644000175000017500000000103100000000000016670 0ustar00dmitrydmitry[metadata] name = python-markdown-math version = 0.8 description = Math extension for Python-Markdown long_description = file: README.md long_description_content_type = text/markdown author = Dmitry Shachnev author_email = mitya57@gmail.com url = https://github.com/mitya57/python-markdown-math license = BSD 3-Clause License [options] py_modules = mdx_math python_requires = >=3.6 install_requires = Markdown>=3.0 [options.entry_points] markdown.extensions = mdx_math = mdx_math:MathExtension [egg_info] tag_build = tag_date = 0 ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1541231014.0 python-markdown-math-0.8/setup.py0000644000175000017500000000007600000000000016571 0ustar00dmitrydmitry#!/usr/bin/env python3 from setuptools import setup setup() ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1604251660.0 python-markdown-math-0.8/test.py0000755000175000017500000000424600000000000016416 0ustar00dmitrydmitry#!/usr/bin/env python3 from markdown import Markdown import unittest class MathTestCase(unittest.TestCase): def verify(self, mkd_name, html_name, config=None): config = config or dict() md = Markdown(extensions=['mdx_math'], extension_configs={'mdx_math': config}) with open('test_data/%s.mkd' % mkd_name) as mkd_file: mkd = mkd_file.read() with open('test_data/%s.html' % html_name) as html_file: html = html_file.read() self.assertEqual(html, md.convert(mkd) + '\n') def r(mkd_name, html_name, **config): return lambda self: self.verify(mkd_name, html_name, config=config) test_inline_latex = r('inline_latex', 'inline') test_inline_latex_escaped = r('inline_latex_escaped', 'inline_latex_escaped') test_inline_latex_preview = r('inline_latex', 'inline_preview', add_preview=True) test_inline_tex = r('inline_tex', 'inline', enable_dollar_delimiter=True) test_inline_tex_disabled = r('inline_tex', 'inline_tex_disabled') test_inline_tex_escaped = r('inline_tex_escaped', 'inline_tex_escaped', enable_dollar_delimiter=True) test_inline_inside_code = r('inline_latex_inside_code', 'inline_latex_inside_code') test_inline_inside_standalone = r('inline_inside_standalone', 'inline_inside_standalone') test_inline_gitlab = r('inline_gitlab', 'inline', use_gitlab_delimiters=True) test_standalone_latex = r('standalone_latex', 'standalone') test_standalone_latex_escaped = r('standalone_latex_escaped', 'standalone_latex_escaped') test_standalone_latex_preview = r('standalone_latex', 'standalone_preview', add_preview=True) test_standalone_tex = r('standalone_tex', 'standalone') test_standalone_gitlab = r('standalone_gitlab', 'standalone_gitlab', use_gitlab_delimiters=True) test_standalone_gitlab_nested = r('standalone_gitlab_nested', 'standalone_gitlab_nested', use_gitlab_delimiters=True) test_begin_end = r('beginend', 'beginend') test_begin_end_preview = r('beginend', 'beginend_preview', add_preview=True) test_inline_asciimath = r('inline_asciimath', 'inline_asciimath', use_asciimath=True) if __name__ == '__main__': unittest.main(verbosity=2) ././@PaxHeader0000000000000000000000000000003400000000000010212 xustar0028 mtime=1604424737.3620787 python-markdown-math-0.8/test_data/0000755000175000017500000000000000000000000017024 5ustar00dmitrydmitry././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/beginend.html0000644000175000017500000000021400000000000021462 0ustar00dmitrydmitry

././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/beginend.mkd0000644000175000017500000000012400000000000021271 0ustar00dmitrydmitry\begin{equation*} \begin{pmatrix} 1 & 0\\ 0 & 1 \end{pmatrix} \end{equation*} ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/beginend_preview.html0000644000175000017500000000043000000000000023223 0ustar00dmitrydmitry

\begin{equation*} \begin{pmatrix} 1 & 0\\ 0 & 1 \end{pmatrix} \end{equation*}

././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/inline.html0000644000175000017500000000010400000000000021163 0ustar00dmitrydmitry

Inline math: .

././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/inline_asciimath.html0000644000175000017500000000012100000000000023204 0ustar00dmitrydmitry

././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/inline_asciimath.mkd0000644000175000017500000000004500000000000023020 0ustar00dmitrydmitry\( sum_(i=1)^n i^3=((n(n+1))/2)^2 \) ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1591101248.0 python-markdown-math-0.8/test_data/inline_gitlab.mkd0000644000175000017500000000004000000000000022313 0ustar00dmitrydmitryInline math: $`e^{i \varphi}`$. ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/inline_inside_standalone.html0000644000175000017500000000014000000000000024726 0ustar00dmitrydmitry

././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/inline_inside_standalone.mkd0000644000175000017500000000005400000000000024541 0ustar00dmitrydmitry\[ \sqrt{\text{ number of \(B\)-words }} \] ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1580580074.0 python-markdown-math-0.8/test_data/inline_latex.mkd0000644000175000017500000000004000000000000022166 0ustar00dmitrydmitryInline math: \(e^{i \varphi}\). ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/inline_latex_escaped.html0000644000175000017500000000004700000000000024052 0ustar00dmitrydmitry

Inline math: \(e^{i \varphi}\).

././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/inline_latex_escaped.mkd0000644000175000017500000000004200000000000023654 0ustar00dmitrydmitryInline math: \\(e^{i \varphi}\\). ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/inline_latex_inside_code.html0000644000175000017500000000004600000000000024712 0ustar00dmitrydmitry

\(e^{i \varphi}\)

././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/inline_latex_inside_code.mkd0000644000175000017500000000002400000000000024515 0ustar00dmitrydmitry`\(e^{i \varphi}\)` ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1580580074.0 python-markdown-math-0.8/test_data/inline_preview.html0000644000175000017500000000020700000000000022730 0ustar00dmitrydmitry

Inline math: \(e^{i \varphi}\).

././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/inline_tex.mkd0000644000175000017500000000003600000000000021656 0ustar00dmitrydmitryInline math: $e^{i \varphi}$. ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/inline_tex_disabled.html0000644000175000017500000000004500000000000023676 0ustar00dmitrydmitry

Inline math: $e^{i \varphi}$.

././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/inline_tex_escaped.html0000644000175000017500000000011500000000000023531 0ustar00dmitrydmitry

Escaped $ dollar sign and real .

././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/inline_tex_escaped.mkd0000644000175000017500000000005000000000000023336 0ustar00dmitrydmitryEscaped \$ dollar sign and real $math$. ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/standalone.html0000644000175000017500000000015200000000000022040 0ustar00dmitrydmitry

././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1604251660.0 python-markdown-math-0.8/test_data/standalone_gitlab.html0000644000175000017500000000025700000000000023370 0ustar00dmitrydmitry ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1591104775.0 python-markdown-math-0.8/test_data/standalone_gitlab.mkd0000644000175000017500000000014500000000000023173 0ustar00dmitrydmitry```math e^{i \varphi} = \cos \varphi + i \sin \varphi ``` ```math \text{one more math block} ``` ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1604251660.0 python-markdown-math-0.8/test_data/standalone_gitlab_nested.html0000644000175000017500000000020100000000000024717 0ustar00dmitrydmitry ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1604251660.0 python-markdown-math-0.8/test_data/standalone_gitlab_nested.mkd0000644000175000017500000000012200000000000024530 0ustar00dmitrydmitry- in list: ```math e^{i \varphi} = \cos \varphi + i \sin \varphi ``` ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/standalone_latex.mkd0000644000175000017500000000006600000000000023050 0ustar00dmitrydmitry\[ e^{i \varphi} = \cos \varphi + i \sin \varphi \] ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/standalone_latex_escaped.html0000644000175000017500000000007500000000000024725 0ustar00dmitrydmitry

\[ e^{i \varphi} = \cos \varphi + i \sin \varphi \]

././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/standalone_latex_escaped.mkd0000644000175000017500000000007000000000000024527 0ustar00dmitrydmitry\\[ e^{i \varphi} = \cos \varphi + i \sin \varphi \\] ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/standalone_preview.html0000644000175000017500000000032000000000000023576 0ustar00dmitrydmitry

\[ e^{i \varphi} = \cos \varphi + i \sin \varphi \]

././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1525284317.0 python-markdown-math-0.8/test_data/standalone_tex.mkd0000644000175000017500000000006600000000000022533 0ustar00dmitrydmitry$$ e^{i \varphi} = \cos \varphi + i \sin \varphi $$