# Path: readme_renderer/markdown.py
# _EXTRA_WARNING = (
#     "Markdown renderers are not available. "
#     "Install 'readme_renderer[md]' to enable Markdown rendering."
# )
# _LANG_ALIASES = {
#     'python': 'python3',
# }
# def render(raw, variant="GFM", **kwargs):
# def _highlight(html):
#     def replacer(match):


import io
import glob
import os
import pytest
from readme_renderer.markdown import render, variants




MD_FIXTURES = [
    (fn, os.path.splitext(fn)[0] + ".html", variant)
    for variant in variants
    for fn in glob.iglob(
        os.path.join(
            os.path.dirname(__file__),
            "fixtures",
            "test_" + variant + "*.md"
        )
    )
]


@pytest.mark.parametrize(
    ("md_filename", "html_filename", "variant"),

# Path: readme_renderer/markdown.py
# _EXTRA_WARNING = (
#     "Markdown renderers are not available. "
#     "Install 'readme_renderer[md]' to enable Markdown rendering."
# )
# _LANG_ALIASES = {
#     'python': 'python3',
# }
# def render(raw, variant="GFM", **kwargs):
# def _highlight(html):
#     def replacer(match):


# Path: tests/test_markdown.py
import io
import glob
import os
import pytest
from readme_renderer.markdown import render, variants





MD_FIXTURES = [
    (fn, os.path.splitext(fn)[0] + ".html", variant)
    for variant in variants
    for fn in glob.iglob(
        os.path.join(
            os.path.dirname(__file__),
            "fixtures",
            "test_" + variant + "*.md"
        )
    )
]


@pytest.mark.parametrize(
    ("md_filename", "html_filename", "variant"),

    MD_FIXTURES,