Support TOML #5

Closed
opened 2026-10-05 02:21:39 +02:00 by adam · 3 comments
Owner

Some static site generators support the TOML language instead of YAML, like Hugo.
Zola only allows TOML as front-matter language.

Would it be hard to implement other front-matter languages?

Some static site generators support the TOML language instead of YAML, like Hugo. [Zola](https://github.com/getzola/zola/) only allows TOML as front-matter language. Would it be hard to implement other front-matter languages? <!-- github-sync-id:503278900 -->
adam closed this issue 2026-10-05 02:21:39 +02:00
Author
Owner

@TjeuKayim I have to look into it, but I could introduce an option to specify your markup preference. Like YAML as default, and TOML when you specify it.

@TjeuKayim I have to look into it, but I could introduce an option to specify your markup preference. Like YAML as default, and TOML when you specify it. <!-- github-comment-id:538896069 -->
Author
Owner

i want to add that Hugo fully sopports YAML aside TOML (and JSON)
and that many core developers are starting to prefer YAML since it's much more used by .md editors. since there aren't any different features, they're just "formats" of the same content, i agree in having YAML as default and an option to switch to TOML

i want to add that Hugo fully sopports YAML aside TOML (and JSON) and that many core developers are starting to prefer YAML since it's much more used by .md editors. since there aren't any different features, they're just "formats" of the same content, i agree in having YAML as default and an option to switch to TOML <!-- github-comment-id:539898821 -->
Author
Owner

This functionality has now been added to the extension. Feel free to test it out and provide feedback.

This functionality has now been added to the extension. Feel free to test it out and provide feedback. <!-- github-comment-id:603992950 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/vscode-front-matter#5