Skip to content

Commit 59769d7

Browse files
Update zensical to 0.0.33
Add the initial markdown configuration to zensical.toml.
1 parent 8c03e6b commit 59769d7

3 files changed

Lines changed: 69 additions & 23 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dev = [
3030
"pytest>=9.0.3",
3131
"pytest-mock>=3.15.1",
3232
"ruff>=0.15.10",
33-
"zensical>=0.0.32",
33+
"zensical>=0.0.33",
3434
]
3535

3636
[project.urls]

uv.lock

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

zensical.toml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,53 @@ toggle.name = "Switch to light mode"
327327
icon = "fontawesome/brands/github"
328328
link = "https://github.com/Electronic-Mango/simple-justwatch-python-api"
329329

330+
# ----------------------------------------------------------------------------
331+
# In this section you can configure the Markdown extensions that are used when
332+
# rendering your documentation. We enable the most useful extensions by default,
333+
# but you can customize this list to your needs.
334+
#
335+
# Read more:
336+
# - https://zensical.org/docs/setup/extensions/
337+
# ----------------------------------------------------------------------------
338+
[project.markdown_extensions.abbr]
339+
[project.markdown_extensions.admonition]
340+
[project.markdown_extensions.attr_list]
341+
[project.markdown_extensions.def_list]
342+
[project.markdown_extensions.footnotes]
343+
[project.markdown_extensions.md_in_html]
344+
[project.markdown_extensions.toc]
345+
permalink = true
346+
[project.markdown_extensions.pymdownx.arithmatex]
347+
generic = true
348+
[project.markdown_extensions.pymdownx.betterem]
349+
[project.markdown_extensions.pymdownx.caret]
350+
[project.markdown_extensions.pymdownx.details]
351+
[project.markdown_extensions.pymdownx.emoji]
352+
emoji_generator = "zensical.extensions.emoji.to_svg"
353+
emoji_index = "zensical.extensions.emoji.twemoji"
354+
[project.markdown_extensions.pymdownx.highlight]
355+
anchor_linenums = true
356+
line_spans = "__span"
357+
pygments_lang_class = true
358+
[project.markdown_extensions.pymdownx.inlinehilite]
359+
[project.markdown_extensions.pymdownx.keys]
360+
[project.markdown_extensions.pymdownx.magiclink]
361+
[project.markdown_extensions.pymdownx.mark]
362+
[project.markdown_extensions.pymdownx.smartsymbols]
363+
[project.markdown_extensions.pymdownx.superfences]
364+
custom_fences = [
365+
{ name = "mermaid", class = "mermaid", format = "pymdownx.superfences.fence_code_format" },
366+
]
367+
[project.markdown_extensions.pymdownx.tabbed]
368+
alternate_style = true
369+
combine_header_slug = true
370+
[project.markdown_extensions.pymdownx.tasklist]
371+
custom_checkbox = true
372+
[project.markdown_extensions.pymdownx.tilde]
373+
374+
# ----------------------------------------------------------------------------
330375
# mkdocstrings settings.
376+
# ----------------------------------------------------------------------------
331377
[project.plugins.mkdocstrings]
332378
default_handler = "python"
333379

0 commit comments

Comments
 (0)