added support for markdown, hiding dice rolls

This commit is contained in:
evilchili
2023-04-12 10:37:31 -07:00
parent bbe897c944
commit 75a5b884c7
4 changed files with 48 additions and 20 deletions
+7
View File
@@ -166,3 +166,10 @@ def test_yaml():
assert tables.RollTable([fixture_one_choice]).as_yaml()
assert tables.RollTable([fixture_metadata + fixture_source]).as_yaml()
assert tables.RollTable([fixture_source]).as_yaml()
def test_text():
assert repr(tables.RollTable([fixture_no_options]))
assert repr(tables.RollTable([fixture_one_choice]))
assert repr(tables.RollTable([fixture_metadata + fixture_source]))
assert repr(tables.RollTable([fixture_source]))