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

1"""Formatter for literate Markdown.""" 

2 

3from __future__ import annotations 

4 

5from typing import Any 

6 

7from markdown_exec.formatters.base import base_format 

8 

9 

10def _format_markdown(**kwargs: Any) -> str: 

11 return base_format(language="md", run=lambda code, **_: code, **kwargs)