async def test_asterisk_removal(self):
        """Test removal of Markdown asterisk formatting."""
        test_cases = {
            "**bold text**": "bold text",  # Double asterisks
            "*italic text*": "italic text",  # Single asterisks
            "**bold** and *italic*": "bold and italic",  # Mixed
            "multiple**bold**words": "multipleboldwords",  # No spaces
            "edge**cases***here*": "edgecaseshere",  # Adjacent asterisks
        }

        for input_text, expected in test_cases.items():
            result = await self.filter.filter(input_text)
            self.assertEqual(result, expected, f"Asterisk removal failed for: '{input_text}'")
Test removal of Markdown asterisk formatting.
tests/test_markdown_text_filter.py