Skip to content

zola serve with Latest Zola Version (0.22.0) breaks #2325

@kfc35

Description

@kfc35

What’s Wrong

Zola just came out with a new version, 0.22.0, and it seems to be incompatible with main repo.

zola serve with Zola Version (0.22.0) results in:

zola serve
Building site...
ERROR Failed to serve the site
ERROR TOML parse error at line 28, column 1
   |
28 | extra_syntaxes_and_themes = ["syntaxes"]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^
unknown field `extra_syntaxes_and_themes`, expected one of `highlighting`, `render_emoji`, `external_links_class`, `external_links_target_blank`, `external_links_no_follow`, `external_links_no_referrer`, `external_links_external`, `smart_punctuation`, `definition_list`, `bottom_footnotes`, `lazy_async_image`, `insert_anchor_links`, `github_alerts`

It seems the section under [markdown] in config.toml needs to be updated based on the changelog: https://github.com/getzola/zola/blob/master/CHANGELOG.md#0220-2026-01-09

Possible solutions:

  • Update the README to reflect that Zola must be <= 0.21.0.
  • Write the necessary changes to config.toml (and possibly elsewhere) to be compatible with 0.22.0 and update the README to reflect the updated Zola version

Extra Context

PR with the breaking change: getzola/zola#3044

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions