MCPcopy Create free account
hub / github.com/HermanMartinus/bearblog / test_superscript

Method test_superscript

blogs/tests.py:1656–1658  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1654 """Tests for ^superscript^ and ~subscript~ plugins."""
1655
1656 def test_superscript(self):
1657 result = markdown_renderer('x^2^')
1658 self.assertIn('<sup>2</sup>', result)
1659
1660 def test_subscript(self):
1661 result = markdown_renderer('H~2~O')

Callers

nothing calls this directly

Calls 1

markdown_rendererFunction · 0.90

Tested by

no test coverage detected