clean up the default markdown configuration a bit

this brings the config a bit closer to my default, and updates the
expectations of a test accordingly
This commit is contained in:
Brian S. Stephan 2022-03-28 22:28:55 -05:00
parent 853a58b78b
commit b3c3c0de45
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
2 changed files with 2 additions and 3 deletions

View File

@ -32,10 +32,9 @@ class Config(object):
},
}
MARKDOWN_EXTENSIONS = ['extra', 'sane_lists', 'smarty', 'tables']
MARKDOWN_EXTENSIONS = ['extra', 'sane_lists', 'smarty', 'toc']
MARKDOWN_EXTENSION_CONFIGS = {
'extra': {
'attr_list': {},
'footnotes': {
'UNIQUE_IDS': True,
},

View File

@ -7,7 +7,7 @@ def test_page_that_exists(client):
"""Test that the app can serve a basic file at the index."""
response = client.get('/')
assert response.status_code == 200
assert b'<h1>test index</h1>' in response.data
assert b'<h1 id="test-index">test index</h1>' in response.data
def test_direct_file_that_exists(client):