async def test_inline_code_handling(self):
        """Test handling of inline code with backticks."""
        test_cases = {
            "`code`": "code",  # Basic inline code
            "Text `code` more": "Text code more",  # Inline code within text
            "``nested`code``": "nested`code",  # Nested backticks
            "`code1` and `code2`": "code1 and code2",  # Multiple inline codes
            "No``space``between": "Nospacebetween",  # No spaces around backticks
        }

        for input_text, expected in test_cases.items():
            result = await self.filter.filter(input_text)
            self.assertEqual(result, expected, f"Inline code handling failed for: '{input_text}'")
Test handling of inline code with backticks.
tests/test_markdown_text_filter.py