Coverage for src/markdown_exec/formatters/markdown.py: 100.00%
5 statements
« prev ^ index » next coverage.py v7.2.3, created at 2023-04-17 15:51 +0200
« prev ^ index » next coverage.py v7.2.3, created at 2023-04-17 15:51 +0200
1"""Formatter for literate Markdown."""
3from __future__ import annotations
5from typing import Any
7from markdown_exec.formatters.base import base_format
10def _format_markdown(**kwargs: Any) -> str:
11 return base_format(language="md", run=lambda code, **_: code, **kwargs)