czon 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/pages.yml +1 -1
- package/README.md +7 -7
- package/assets/templates/default/layout.html +2 -6
- package/dist/build/pipeline.d.ts.map +1 -1
- package/dist/build/pipeline.js +11 -11
- package/dist/build/pipeline.js.map +1 -1
- package/dist/cli.js +5 -5
- package/dist/cli.js.map +1 -1
- package/dist/findEntries.d.ts +1 -1
- package/dist/findEntries.js +2 -2
- package/dist/findEntries.js.map +1 -1
- package/dist/metadata.d.ts.map +1 -1
- package/dist/metadata.js +4 -7
- package/dist/metadata.js.map +1 -1
- package/dist/paths.d.ts +4 -4
- package/dist/paths.d.ts.map +1 -1
- package/dist/paths.js +5 -5
- package/dist/paths.js.map +1 -1
- package/dist/process/template.js +4 -4
- package/dist/process/template.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
- package/.zen/meta.json +0 -106
- package/.zen/src/ar-SA/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/ar-SA/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -79
- package/.zen/src/ar-SA/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/ar-SA/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/ar-SA/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/ar-SA/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/da-DK/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/da-DK/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -78
- package/.zen/src/da-DK/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/da-DK/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/da-DK/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/da-DK/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/de-DE/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/de-DE/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -78
- package/.zen/src/de-DE/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/de-DE/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/de-DE/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/de-DE/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/en-US/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/en-US/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -79
- package/.zen/src/en-US/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/en-US/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/en-US/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/en-US/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/es-ES/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/es-ES/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -78
- package/.zen/src/es-ES/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/es-ES/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/es-ES/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/es-ES/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/es-MX/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/es-MX/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -78
- package/.zen/src/es-MX/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/es-MX/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/es-MX/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/es-MX/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/fi-FI/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/fi-FI/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -79
- package/.zen/src/fi-FI/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/fi-FI/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/fi-FI/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/fi-FI/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/fr-FR/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/fr-FR/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -78
- package/.zen/src/fr-FR/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/fr-FR/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/fr-FR/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/fr-FR/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/hi-IN/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/hi-IN/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -79
- package/.zen/src/hi-IN/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/hi-IN/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/hi-IN/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/hi-IN/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/id-ID/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/id-ID/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -79
- package/.zen/src/id-ID/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/id-ID/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/id-ID/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/id-ID/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/it-IT/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/it-IT/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -78
- package/.zen/src/it-IT/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/it-IT/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/it-IT/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/it-IT/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/ja-JP/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/ja-JP/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -79
- package/.zen/src/ja-JP/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/ja-JP/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/ja-JP/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/ja-JP/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/ko-KR/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/ko-KR/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -79
- package/.zen/src/ko-KR/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/ko-KR/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/ko-KR/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/ko-KR/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/nl-NL/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/nl-NL/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -79
- package/.zen/src/nl-NL/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/nl-NL/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/nl-NL/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/nl-NL/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/no-NO/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/no-NO/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -78
- package/.zen/src/no-NO/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/no-NO/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/no-NO/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/no-NO/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/pl-PL/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/pl-PL/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -79
- package/.zen/src/pl-PL/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/pl-PL/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/pl-PL/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/pl-PL/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/pt-BR/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/pt-BR/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -78
- package/.zen/src/pt-BR/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/pt-BR/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/pt-BR/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/pt-BR/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/pt-PT/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/pt-PT/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -78
- package/.zen/src/pt-PT/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/pt-PT/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/pt-PT/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/pt-PT/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/ru-RU/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/ru-RU/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -78
- package/.zen/src/ru-RU/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/ru-RU/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/ru-RU/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/ru-RU/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/sv-SE/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/sv-SE/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -78
- package/.zen/src/sv-SE/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/sv-SE/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/sv-SE/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/sv-SE/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/th-TH/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/th-TH/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -79
- package/.zen/src/th-TH/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/th-TH/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/th-TH/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/th-TH/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/tr-TR/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/tr-TR/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -79
- package/.zen/src/tr-TR/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/tr-TR/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/tr-TR/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/tr-TR/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/uk-UA/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/uk-UA/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -79
- package/.zen/src/uk-UA/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/uk-UA/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/uk-UA/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/uk-UA/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/vi-VN/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -121
- package/.zen/src/vi-VN/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -78
- package/.zen/src/vi-VN/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/vi-VN/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -71
- package/.zen/src/vi-VN/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/vi-VN/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -30
- package/.zen/src/zh-Hans/4b2cedd76dddb2a20b1890460735dd38fa65e293a37d6bd15310852ba1c851c4.md +0 -21
- package/.zen/src/zh-Hans/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -123
- package/.zen/src/zh-Hans/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -81
- package/.zen/src/zh-Hans/59fe7aff1dcf6f4bbbaff1ad2f7c4c5a3d34b99b1d288b78717ee34525c9897b.md +0 -24
- package/.zen/src/zh-Hans/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -74
- package/.zen/src/zh-Hans/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -74
- package/.zen/src/zh-Hans/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -75
- package/.zen/src/zh-Hans/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -31
- package/.zen/src/zh-Hans/c1b0e9eb01d78140c21097187d6395815fd01a6f179af31b7e72532ec6c7c682.md +0 -75
- package/.zen/src/zh-Hans/cbf2fcda767ee28fe49828908c14de2c8edba8f8b7d721743eda767838b70923.md +0 -67
- package/.zen/src/zh-Hans/ec9fa686ad66e28d8d9ee131812bb6f31052185584de0853db1ee8893ebddda3.md +0 -22
- package/.zen/src/zh-Hans/f119cbaf7645c713b1e0fa67abdc1070766c80f94eec9e42108bfa37ef85db43.md +0 -24
- package/.zen/src/zh-Hant/50bf41ac6fd8ec8cd6481fd1114aaf00abed0461fc8e8c81cc0373d38ffa835c.md +0 -123
- package/.zen/src/zh-Hant/579c3a203225b8b7aead541f42381de0619d8bc1d451d0d9c3267dbc74205503.md +0 -81
- package/.zen/src/zh-Hant/6e7ca196ba51235db30218cf9b28f92d35937b09a22411062be088a0086b29ed.md +0 -70
- package/.zen/src/zh-Hant/74541be9d53c64107a548e09847244d52bff803960942cd2bfbd2a8600afb805.md +0 -74
- package/.zen/src/zh-Hant/98a9dd72146a69d155030cb7286ea2d10e0521451de9754cbdfcde46c46f2c71.md +0 -71
- package/.zen/src/zh-Hant/9d0485c244a80b14dcc92ef91cf5ff82220ed774ebb5e09549929ac75200c7bc.md +0 -31
- package/docs/test-katex.md +0 -66
- package/docs/test-mermaid.md +0 -105
- package/docs/tricks.md +0 -15
- package/src/ai/extractMetadataFromMarkdown.ts +0 -95
- package/src/ai/translateMarkdown.ts +0 -60
- package/src/build/pipeline.ts +0 -172
- package/src/cli.ts +0 -73
- package/src/findEntries.ts +0 -37
- package/src/index.ts +0 -1
- package/src/languages.ts +0 -37
- package/src/metadata.ts +0 -44
- package/src/paths.ts +0 -7
- package/src/process/extractMetadataByAI.ts +0 -31
- package/src/process/scanSourceFiles.ts +0 -73
- package/src/process/template.ts +0 -222
- package/src/services/openai.ts +0 -92
- package/src/types.ts +0 -37
- package/src/utils/convertMarkdownToHtml.ts +0 -93
- package/src/utils/frontmatter.ts +0 -18
- package/src/utils/sha256.ts +0 -4
- package/test-multilang.js +0 -44
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
'title': 'Mermaid Diagram Test Document'
|
|
3
|
-
'summary': 'This document is a test file used to verify the Mermaid diagram rendering functionality in ZEN. It includes examples of various Mermaid diagram types, such as flowcharts, sequence diagrams, Gantt charts, class diagrams, state diagrams, and pie charts, along with an error syntax test to check error message display. The document aims to demonstrate the proper functioning of Mermaid integration in ZEN.'
|
|
4
|
-
'tags':
|
|
5
|
-
- 'Mermaid'
|
|
6
|
-
- 'Diagram Testing'
|
|
7
|
-
- 'ZEN'
|
|
8
|
-
- 'Flowchart'
|
|
9
|
-
- 'Sequence Diagram'
|
|
10
|
-
- 'Gantt Chart'
|
|
11
|
-
- 'Class Diagram'
|
|
12
|
-
- 'State Diagram'
|
|
13
|
-
'inferred_date': '2024-01-01'
|
|
14
|
-
'inferred_lang': 'en-US'
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
# Mermaid Diagram Test
|
|
18
|
-
|
|
19
|
-
This is a test file used to verify the Mermaid diagram rendering functionality in ZEN.
|
|
20
|
-
|
|
21
|
-
## Flowchart Example
|
|
22
|
-
|
|
23
|
-
```mermaid
|
|
24
|
-
graph TD
|
|
25
|
-
A[Start] --> B{Continue?}
|
|
26
|
-
B -->|Yes| C[Execute Action]
|
|
27
|
-
B -->|No| D[End]
|
|
28
|
-
C --> E[Check Result]
|
|
29
|
-
E --> F{Success?}
|
|
30
|
-
F -->|Yes| G[Complete]
|
|
31
|
-
F -->|No| H[Retry]
|
|
32
|
-
H --> C
|
|
33
|
-
G --> D
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
## Sequence Diagram Example
|
|
37
|
-
|
|
38
|
-
```mermaid
|
|
39
|
-
sequenceDiagram
|
|
40
|
-
participant User
|
|
41
|
-
participant System
|
|
42
|
-
participant Database
|
|
43
|
-
|
|
44
|
-
User->>System: Submit Request
|
|
45
|
-
System->>Database: Query Data
|
|
46
|
-
Database-->>System: Return Results
|
|
47
|
-
System-->>User: Display Results
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## Gantt Chart Example
|
|
51
|
-
|
|
52
|
-
```mermaid
|
|
53
|
-
gantt
|
|
54
|
-
title Project Timeline
|
|
55
|
-
dateFormat YYYY-MM-DD
|
|
56
|
-
section Design
|
|
57
|
-
Requirements Analysis :done, des1, 2024-01-01, 7d
|
|
58
|
-
Prototype Design :active, des2, 2024-01-08, 5d
|
|
59
|
-
Detailed Design : des3, after des2, 5d
|
|
60
|
-
section Development
|
|
61
|
-
Frontend Development : dev1, after des3, 10d
|
|
62
|
-
Backend Development : dev2, after des3, 15d
|
|
63
|
-
section Testing
|
|
64
|
-
Unit Testing : test1, after dev1, 5d
|
|
65
|
-
Integration Testing : test2, after dev2, 5d
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
## Class Diagram Example
|
|
69
|
-
|
|
70
|
-
```mermaid
|
|
71
|
-
classDiagram
|
|
72
|
-
class Animal {
|
|
73
|
-
+String name
|
|
74
|
-
+int age
|
|
75
|
-
+void eat()
|
|
76
|
-
+void sleep()
|
|
77
|
-
}
|
|
78
|
-
class Dog {
|
|
79
|
-
+void bark()
|
|
80
|
-
}
|
|
81
|
-
class Cat {
|
|
82
|
-
+void meow()
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
Animal <|-- Dog
|
|
86
|
-
Animal <|-- Cat
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
## State Diagram Example
|
|
90
|
-
|
|
91
|
-
```mermaid
|
|
92
|
-
stateDiagram-v2
|
|
93
|
-
[*] --> Idle
|
|
94
|
-
Idle --> Processing : Start Processing
|
|
95
|
-
Processing --> Success : Processing Successful
|
|
96
|
-
Processing --> Error : Processing Failed
|
|
97
|
-
Success --> [*]
|
|
98
|
-
Error --> [*]
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
## Pie Chart Example
|
|
102
|
-
|
|
103
|
-
```mermaid
|
|
104
|
-
pie title Browser Usage Share
|
|
105
|
-
"Chrome" : 65.2
|
|
106
|
-
"Firefox" : 15.3
|
|
107
|
-
"Safari" : 12.5
|
|
108
|
-
"Edge" : 5.2
|
|
109
|
-
"Other" : 1.8
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
## Error Syntax Test (Should Display Error Message)
|
|
113
|
-
|
|
114
|
-
```mermaid
|
|
115
|
-
graph TD
|
|
116
|
-
A --> B
|
|
117
|
-
// Missing arrow definition here
|
|
118
|
-
C --> D
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
This test file includes various Mermaid diagram types to verify that the Mermaid integration in ZEN is functioning correctly.
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
'title': 'KaTeX Formula Display Test'
|
|
3
|
-
'summary': 'This document is an example for testing KaTeX formula display, containing multiple inline and block-level mathematical formulas such as E=mc^2, integrals, derivatives, series, piecewise functions, tables, matrices, etc., aimed at verifying correct formula rendering.'
|
|
4
|
-
'tags':
|
|
5
|
-
- 'KaTeX'
|
|
6
|
-
- 'Formula Test'
|
|
7
|
-
- 'Mathematical Formulas'
|
|
8
|
-
- 'LaTeX'
|
|
9
|
-
- 'Display Effect'
|
|
10
|
-
- 'Document Example'
|
|
11
|
-
'inferred_lang': 'en-US'
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
# KaTeX Formula Display Test
|
|
15
|
-
|
|
16
|
-
This is an inline formula test: $ E = mc^2 $.
|
|
17
|
-
|
|
18
|
-
This is a block-level formula test:
|
|
19
|
-
|
|
20
|
-
$$
|
|
21
|
-
\int_a^b f(x) \, dx = F(b) - F(a)
|
|
22
|
-
$$
|
|
23
|
-
|
|
24
|
-
This is another block-level formula test:
|
|
25
|
-
|
|
26
|
-
$$
|
|
27
|
-
\frac{d}{dx}e^x = e^x
|
|
28
|
-
$$
|
|
29
|
-
|
|
30
|
-
This is a complex formula test:
|
|
31
|
-
|
|
32
|
-
$$
|
|
33
|
-
\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}
|
|
34
|
-
$$
|
|
35
|
-
|
|
36
|
-
Formula test with cases:
|
|
37
|
-
|
|
38
|
-
$$
|
|
39
|
-
f(x) =
|
|
40
|
-
\begin{cases}
|
|
41
|
-
x^2 & \text{if } x \geq 0 \\
|
|
42
|
-
-x & \text{if } x < 0
|
|
43
|
-
\end{cases}
|
|
44
|
-
$$
|
|
45
|
-
|
|
46
|
-
Table formula:
|
|
47
|
-
|
|
48
|
-
$$
|
|
49
|
-
\begin{array}{c|c|c}
|
|
50
|
-
a & b & c \\
|
|
51
|
-
\hline
|
|
52
|
-
1 & 2 & 3 \\
|
|
53
|
-
4 & 5 & 6 \\
|
|
54
|
-
\end{array}
|
|
55
|
-
$$
|
|
56
|
-
|
|
57
|
-
Matrix formula:
|
|
58
|
-
|
|
59
|
-
$$
|
|
60
|
-
\begin{pmatrix}
|
|
61
|
-
1 & 2 \\
|
|
62
|
-
3 & 4
|
|
63
|
-
\end{pmatrix}
|
|
64
|
-
$$
|
|
65
|
-
|
|
66
|
-
Formula test containing text:
|
|
67
|
-
|
|
68
|
-
$$
|
|
69
|
-
E = mc^2 \quad \text{where } m \text{ is mass and
|
|
70
|
-
} c \text{ is the speed of light}
|
|
71
|
-
$$
|
|
72
|
-
|
|
73
|
-
Generalized Kelly formula:
|
|
74
|
-
|
|
75
|
-
$$
|
|
76
|
-
f^* = \argmax_f \sum_{i \in X} P_i \ln (1 + f \cdot R_i)
|
|
77
|
-
$$
|
|
78
|
-
|
|
79
|
-
Please ensure all the above formulas display correctly.
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
'title': 'ZEN - Minimalist Markdown + AI Static Site Builder'
|
|
3
|
-
'summary': 'ZEN is an AI-powered static site generator focused on simplifying documentation writing and building. It allows users to create static HTML sites from git-managed folders using Markdown, with no complex configuration—all settings are hidden in the .zen directory. Core features include intelligent categorization and navigation (generating site maps via AI content analysis), automatic incremental translation (supporting multilingual versions, enabling users to write in their native language while AI handles translation), and a minimally disruptive writing experience. The tool relies on Node.js, an OpenAI API Key, and Git, enabling quick builds via the command line and supporting language parameters such as zh-Hans and en-US.'
|
|
4
|
-
'tags':
|
|
5
|
-
- 'Static Site Generator'
|
|
6
|
-
- 'Markdown'
|
|
7
|
-
- 'AI'
|
|
8
|
-
- 'Multilingual Translation'
|
|
9
|
-
- 'Minimalism'
|
|
10
|
-
- 'Documentation Tool'
|
|
11
|
-
- 'ZEN'
|
|
12
|
-
'inferred_lang': 'zh-Hans'
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
# ZEN - Minimalist Markdown + AI Static Site Builder
|
|
16
|
-
|
|
17
|
-
[> Website Demo](https://zen.zccz14.com/)
|
|
18
|
-
|
|
19
|
-
## Core Features
|
|
20
|
-
|
|
21
|
-
1. 📃 **Static Site Generation**: Build a static HTML site from any git-managed folder containing Markdown files.
|
|
22
|
-
2. 🧭 **Intelligent Categorization and Navigation**: Use AI to analyze content, generating site maps and navigation independent of source file locations.
|
|
23
|
-
3. 🌍 **Automatic Incremental Translation**: Use AI for incremental translation, allowing users to write Markdown in their native language while supporting multilingual output.
|
|
24
|
-
|
|
25
|
-
Why create another Markdown static site generator? I’ve reconsidered how documentation tools can better serve writers in the AI era:
|
|
26
|
-
|
|
27
|
-
- **Return to Content: Minimize Distractions, Focus on Writing**
|
|
28
|
-
|
|
29
|
-
Bring documentation back to its essence and restore tranquility to writing.
|
|
30
|
-
|
|
31
|
-
First, I don’t want to be a librarian. Sometimes I want to jot down ideas without having finalized titles or organized structures. I want LLMs to automatically generate titles, summaries, categories, navigation, and other organizational tasks.
|
|
32
|
-
|
|
33
|
-
Second, my workspace must stay clean. I don’t want complex build tools, intricate documentation configurations, or convoluted structures. Tools like Docusaurus, VuePress, and Astro with their configuration files and project structures give me a headache. ZEN hides all configurations in the `.zen` directory, tucked away in a corner. Users can focus solely on writing content, leaving the rest to ZEN. All other directories are your writing space—organize your Markdown files however you like.
|
|
34
|
-
|
|
35
|
-
- **Return to Native Language: Write in Your Mother Tongue, Seamlessly Build Multilingual Versions**
|
|
36
|
-
|
|
37
|
-
Life is short; I can’t be bothered with translation. People think most deeply when using their native language. Yet, staying connected to the world is essential—I don’t want to give up multilingual communication. I wanted a tool that lets me write in my native language while making my content accessible to more people. Traditional i18n requires manual translation and content maintenance, which is too cumbersome. I chose to use LLMs for translation, saving significant time and enabling one-click multilingual translation.
|
|
38
|
-
|
|
39
|
-
## Quick Start
|
|
40
|
-
|
|
41
|
-
Prerequisites:
|
|
42
|
-
|
|
43
|
-
- [Node.js](https://nodejs.org/) installed (version 18 or higher recommended, with `npx` command available)
|
|
44
|
-
- An [OpenAI API Key](https://platform.openai.com/account/api-keys) or compatible OpenAI API key
|
|
45
|
-
- Git installed (used to list Markdown files from Git, ignoring files filtered by `.gitignore` rules)
|
|
46
|
-
|
|
47
|
-
First, work within a folder already managed by Git:
|
|
48
|
-
|
|
49
|
-
Set environment variables:
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
export OPENAI_API_KEY="sk-xxxxxx" # Required: Replace with your OpenAI API Key
|
|
53
|
-
export OPENAI_BASE_URL="https://api.openai.com/v1" # Optional, defaults to OpenAI's official API
|
|
54
|
-
export OPENAI_MODEL="gpt-3.5-turbo" # Optional, defaults to the gpt-3.5-turbo model
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
Build the site with support for multilingual translation. Use the current directory as the source and output to the `.zen/dist` directory.
|
|
58
|
-
|
|
59
|
-
- Specify language versions using the `--lang` parameter multiple times (e.g., `--lang zh-Hans --lang en-US`).
|
|
60
|
-
- No need to configure the source language—ZEN automatically detects it.
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
npx zengen@latest build --lang zh-Hans --lang en-US
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
**View more parameters or help**:
|
|
67
|
-
|
|
68
|
-
```bash
|
|
69
|
-
npx zengen@latest
|
|
70
|
-
```
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
'title': 'ZEN - A Minimalist Markdown + AI Static Site Builder'
|
|
3
|
-
'summary': 'ZEN is a static site generator with AI capabilities, designed to simplify the process of writing documentation and building websites. It allows users to focus on writing Markdown content in their native language, automatically handling title generation, categorized navigation, and incremental translation. It supports multilingual versions without complex configuration. Built on Node.js and the OpenAI API, it enables rapid site construction via the command line, making it ideal for writers who value efficiency and simplicity.'
|
|
4
|
-
'tags':
|
|
5
|
-
- 'Static Site Generator'
|
|
6
|
-
- 'Markdown'
|
|
7
|
-
- 'AI'
|
|
8
|
-
- 'Minimalism'
|
|
9
|
-
- 'Multilingual Translation'
|
|
10
|
-
- 'Node.js'
|
|
11
|
-
- 'OpenAI'
|
|
12
|
-
'inferred_lang': 'zh-Hans'
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
# ZEN - A Minimalist Markdown + AI Static Site Builder
|
|
16
|
-
|
|
17
|
-
[> Website Demo](https://zccz14.github.io/ZEN/)
|
|
18
|
-
|
|
19
|
-
## Core Features
|
|
20
|
-
|
|
21
|
-
1. 📃 **Static Site Generation**: Build a static HTML site from any git-managed folder containing Markdown files.
|
|
22
|
-
2. 🧭 **Intelligent Categorized Navigation**: Use AI to analyze content, generating a site map and navigation that is independent of the original file structure.
|
|
23
|
-
3. 🌍 **Automatic Incremental Translation**: Use AI for incremental translation, allowing users to write Markdown in their native language while supporting multilingual audiences.
|
|
24
|
-
|
|
25
|
-
Why create another Markdown static site generator? I've reconsidered how documentation tools can better serve writers in the AI era:
|
|
26
|
-
|
|
27
|
-
- **Return to Content: Minimize Distractions, Focus on Writing**
|
|
28
|
-
|
|
29
|
-
Bring documentation back to its essence and restore tranquility to the writing process.
|
|
30
|
-
|
|
31
|
-
First, I don't want to be a librarian. Sometimes I want to jot down ideas before I've settled on a title or organized them fully. I want an LLM to automatically generate titles, create summaries, categorize content, and handle navigation.
|
|
32
|
-
|
|
33
|
-
Second, my workspace must stay clean. I don't want complex build tools, intricate documentation configurations, or convoluted structures. Tools like Docusaurus, VuePress, and Astro often overwhelm me with their configuration files and project layouts. ZEN hides all configuration in a `.zen` directory, tucked out of sight. Users can focus solely on writing, leaving the rest to ZEN. All other directories are your writing space—organize your Markdown files however you like.
|
|
34
|
-
|
|
35
|
-
- **Return to Native Language: Write in Your Mother Tongue, Seamlessly Build Multilingual Versions**
|
|
36
|
-
|
|
37
|
-
Life is short; I don't want to translate. People think most deeply in their native language. Yet, staying connected to the world is essential—I don't want to give up multilingual communication. I needed a tool that lets me write in my native language while making my content accessible to a broader audience. Traditional i18n requires manual translation and ongoing content maintenance, which is too cumbersome. I chose to use LLMs for translation, saving significant time and enabling one-click multilingual support.
|
|
38
|
-
|
|
39
|
-
## Quick Start
|
|
40
|
-
|
|
41
|
-
Prerequisites:
|
|
42
|
-
|
|
43
|
-
- [Node.js](https://nodejs.org/) installed (version 18 or higher recommended, with `npx` command available)
|
|
44
|
-
- An [OpenAI API Key](https://platform.openai.com/account/api-keys) or a compatible OpenAI API key
|
|
45
|
-
- Git installed (used to list Markdown files from a Git repository, ignoring files filtered by `.gitignore` rules)
|
|
46
|
-
|
|
47
|
-
First, work within a folder already managed by Git:
|
|
48
|
-
|
|
49
|
-
Set environment variables:
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
export OPENAI_API_KEY="sk-xxxxxx" # Required: Replace with your OpenAI API Key
|
|
53
|
-
export OPENAI_BASE_URL="https://api.openai.com/v1" # Optional, defaults to the official OpenAI API
|
|
54
|
-
export OPENAI_MODEL="gpt-3.5-turbo" # Optional, defaults to the gpt-3.5-turbo model
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
Build the site with support for multilingual translation. Use the current directory as the source and output to the `.zen/dist` directory.
|
|
58
|
-
|
|
59
|
-
- Specify language versions using the `--lang` parameter multiple times (e.g., `--lang zh-Hans --lang en-US`).
|
|
60
|
-
- Set the site's base URL prefix with the `--base-url` parameter (e.g., for a GitHub Pages repository name).
|
|
61
|
-
- No need to configure the source language—ZEN detects it automatically.
|
|
62
|
-
|
|
63
|
-
```bash
|
|
64
|
-
npx zengen@latest build --lang zh-Hans --lang en-US
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
**View more parameters or help**:
|
|
68
|
-
|
|
69
|
-
```bash
|
|
70
|
-
npx zengen@latest
|
|
71
|
-
```
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
'title': 'ZEN - Minimalist Markdown + AI Static Site Builder'
|
|
3
|
-
'summary': 'ZEN is a static site generator with AI capabilities, designed specifically for Markdown documents. It allows users to convert a Git folder containing Markdown files into a static HTML site without complex configuration—all settings are hidden in the .zen directory. Core features include intelligent categorization and navigation (using AI to analyze content and generate a sitemap), automatic incremental translation (supporting multilingual versions, enabling users to write in their native language with AI handling translation), and a minimally disruptive writing experience. The quick start guide requires installing Node.js, obtaining an OpenAI API Key and Git, building the site via the command line, and supports specifying languages and base URLs.'
|
|
4
|
-
'tags':
|
|
5
|
-
- 'Static Site Generator'
|
|
6
|
-
- 'Markdown'
|
|
7
|
-
- 'AI'
|
|
8
|
-
- 'Multilingual Translation'
|
|
9
|
-
- 'Minimalism'
|
|
10
|
-
- 'Documentation Tool'
|
|
11
|
-
- 'Git'
|
|
12
|
-
'inferred_lang': 'zh-Hans'
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
# ZEN - Minimalist Markdown + AI Static Site Builder
|
|
16
|
-
|
|
17
|
-
[> Website Demo](https://zen.zccz14.com/)
|
|
18
|
-
|
|
19
|
-
## Core Features
|
|
20
|
-
|
|
21
|
-
1. 📃 **Static Site Generation**: Build any Git folder containing Markdown files into a static HTML site.
|
|
22
|
-
2. 🧭 **Intelligent Categorization and Navigation**: Uses AI to analyze content, generating a sitemap and navigation that is insensitive to source file locations.
|
|
23
|
-
3. 🌍 **Automatic Incremental Translation**: Uses AI for incremental translation, allowing users to write Markdown in their native language while supporting multilingual output.
|
|
24
|
-
|
|
25
|
-
Why create another Markdown static site generator? I've reconsidered how documentation tools can better serve writers in the AI era:
|
|
26
|
-
|
|
27
|
-
- **Return to Content: Minimize Distractions, Focus on Writing**
|
|
28
|
-
|
|
29
|
-
Bring documentation back to its essence and restore tranquility to writing.
|
|
30
|
-
|
|
31
|
-
First, I don't want to be a librarian. Sometimes I want to jot down ideas without having finalized titles or organizational structures. I want LLMs to automatically generate titles, summaries, categories, navigation, and other organizational tasks.
|
|
32
|
-
|
|
33
|
-
Second, my workspace must stay clean. I don't want complex build tools, cumbersome documentation configurations, or intricate structures. Every time I see the configuration files and project structures of tools like Docusaurus, VuePress, or Astro, I get a headache. Now, ZEN hides all configurations in the `.zen` directory, tucked away in a corner. Users only need to focus on writing content; ZEN handles the rest. All other directories are your writing space—organize your Markdown files freely.
|
|
34
|
-
|
|
35
|
-
- **Return to Native Language: Write in Your Mother Tongue, Seamlessly Build Multilingual Versions**
|
|
36
|
-
|
|
37
|
-
Life is short; I can't be bothered with translation. People express their deepest thoughts best in their native language. Yet, staying connected to the world is essential, and I don't want to give up multilingual communication. I wanted a tool that lets me write in my native language while making my content accessible to a broader audience. Traditional i18n requires manual translation and content maintenance, which is too cumbersome. I chose to use LLMs for translation, saving significant time and enabling one-click multilingual translation.
|
|
38
|
-
|
|
39
|
-
## Quick Start
|
|
40
|
-
|
|
41
|
-
Prerequisites:
|
|
42
|
-
|
|
43
|
-
- [Node.js](https://nodejs.org/) installed (version 18 or higher recommended, with `npx` command available)
|
|
44
|
-
- [OpenAI API Key](https://platform.openai.com/account/api-keys) obtained, or an OpenAI-compatible API Key
|
|
45
|
-
- Git installed (used to list Markdown files from Git, ignoring files filtered by `.gitignore` rules)
|
|
46
|
-
|
|
47
|
-
First, work in a folder already managed by Git:
|
|
48
|
-
|
|
49
|
-
Set environment variables:
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
export OPENAI_API_KEY="sk-xxxxxx" # Required: Replace with your OpenAI API Key
|
|
53
|
-
export OPENAI_BASE_URL="https://api.openai.com/v1" # Optional, defaults to OpenAI's official API
|
|
54
|
-
export OPENAI_MODEL="gpt-3.5-turbo" # Optional, defaults to the gpt-3.5-turbo model
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
Build the site with support for multilingual translation. Uses the current directory as the source and outputs to the `.zen/dist` directory.
|
|
58
|
-
|
|
59
|
-
- Specify language versions to generate using the `--lang` parameter multiple times (e.g., `--lang zh-Hans --lang en-US`).
|
|
60
|
-
- Specify the site's base URL prefix with the `--base-url` parameter (e.g., a repository name on GitHub Pages).
|
|
61
|
-
- No need to configure the source language; ZEN automatically detects it.
|
|
62
|
-
|
|
63
|
-
```bash
|
|
64
|
-
npx zengen@latest build --lang zh-Hans --lang en-US
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
**View more parameters or help**:
|
|
68
|
-
|
|
69
|
-
```bash
|
|
70
|
-
npx zengen@latest
|
|
71
|
-
```
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
'title': 'ZEN Documentation Date Declaration Usage Tips'
|
|
3
|
-
'summary': "This document introduces the technique of declaring dates directly within the body text using the ZEN tool. It contrasts this with the traditional Markdown method of declaring dates via YAML Frontmatter, highlighting ZEN's automatic recognition and intelligent processing capabilities. This approach enhances the user experience and is suitable for content types like diaries and blogs that require a timeline."
|
|
4
|
-
'tags':
|
|
5
|
-
- 'ZEN'
|
|
6
|
-
- 'Date Declaration'
|
|
7
|
-
- 'Markdown'
|
|
8
|
-
- 'AI Processing'
|
|
9
|
-
- 'Timeline'
|
|
10
|
-
- 'User Experience'
|
|
11
|
-
- 'Document Management'
|
|
12
|
-
'inferred_date': '2026-01-08'
|
|
13
|
-
'inferred_lang': 'zh-Hans'
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
# Usage Tips
|
|
17
|
-
|
|
18
|
-
## Declaring Dates in the Body Text
|
|
19
|
-
|
|
20
|
-
Within the body text, you can use date declarations like "Today is January 8, 2026" (the format style is flexible), and ZEN will automatically recognize and process it.
|
|
21
|
-
|
|
22
|
-
Traditional Markdown documents declare dates through YAML Frontmatter, which requires remembering the corresponding field; otherwise, the date may not be correctly identified.
|
|
23
|
-
|
|
24
|
-
ZEN supports declaring dates directly within the body text, avoiding the issue of forgetting to fill in the Frontmatter field.
|
|
25
|
-
|
|
26
|
-
The AI will automatically extract and infer date information from the body text and process it as the document's creation date.
|
|
27
|
-
|
|
28
|
-
This method is more flexible and intelligent, enhancing the user experience.
|
|
29
|
-
|
|
30
|
-
As a side note, documents with dates can generate a timeline view, making browsing and management easier. This is particularly suitable for content types like diaries and blogs that require a timeline.
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
'title': 'Documento de Prueba de Diagramas Mermaid'
|
|
3
|
-
'summary': 'Este documento es un archivo de prueba para verificar la funcionalidad de renderizado de diagramas Mermaid en ZEN. Incluye ejemplos de varios tipos de diagramas Mermaid, como diagramas de flujo, diagramas de secuencia, diagramas de Gantt, diagramas de clases, diagramas de estado y gráficos circulares, además de una prueba de sintaxis errónea para comprobar la visualización de mensajes de error. El documento tiene como objetivo demostrar el funcionamiento correcto de la integración de Mermaid en ZEN.'
|
|
4
|
-
'tags':
|
|
5
|
-
- 'Mermaid'
|
|
6
|
-
- 'Prueba de diagramas'
|
|
7
|
-
- 'ZEN'
|
|
8
|
-
- 'Diagrama de flujo'
|
|
9
|
-
- 'Diagrama de secuencia'
|
|
10
|
-
- 'Diagrama de Gantt'
|
|
11
|
-
- 'Diagrama de clases'
|
|
12
|
-
- 'Diagrama de estado'
|
|
13
|
-
'inferred_date': '2024-01-01'
|
|
14
|
-
'inferred_lang': 'es-ES'
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
# Prueba de Diagramas Mermaid
|
|
18
|
-
|
|
19
|
-
Este es un archivo de prueba para verificar la funcionalidad de renderizado de diagramas Mermaid en ZEN.
|
|
20
|
-
|
|
21
|
-
## Ejemplo de Diagrama de Flujo
|
|
22
|
-
|
|
23
|
-
```mermaid
|
|
24
|
-
graph TD
|
|
25
|
-
A[Inicio] --> B{¿Continuar?}
|
|
26
|
-
B -->|Sí| C[Ejecutar acción]
|
|
27
|
-
B -->|No| D[Fin]
|
|
28
|
-
C --> E[Verificar resultado]
|
|
29
|
-
E --> F{¿Éxito?}
|
|
30
|
-
F -->|Sí| G[Completado]
|
|
31
|
-
F -->|No| H[Reintentar]
|
|
32
|
-
H --> C
|
|
33
|
-
G --> D
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
## Ejemplo de Diagrama de Secuencia
|
|
37
|
-
|
|
38
|
-
```mermaid
|
|
39
|
-
sequenceDiagram
|
|
40
|
-
participant Usuario
|
|
41
|
-
participant Sistema
|
|
42
|
-
participant BaseDeDatos
|
|
43
|
-
|
|
44
|
-
Usuario->>Sistema: Enviar solicitud
|
|
45
|
-
Sistema->>BaseDeDatos: Consultar datos
|
|
46
|
-
BaseDeDatos-->>Sistema: Devolver resultados
|
|
47
|
-
Sistema-->>Usuario: Mostrar resultados
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## Ejemplo de Diagrama de Gantt
|
|
51
|
-
|
|
52
|
-
```mermaid
|
|
53
|
-
gantt
|
|
54
|
-
title Cronograma del Proyecto
|
|
55
|
-
dateFormat YYYY-MM-DD
|
|
56
|
-
section Diseño
|
|
57
|
-
Análisis de requisitos :done, des1, 2024-01-01, 7d
|
|
58
|
-
Diseño de prototipo :active, des2, 2024-01-08, 5d
|
|
59
|
-
Diseño detallado : des3, after des2, 5d
|
|
60
|
-
section Desarrollo
|
|
61
|
-
Desarrollo frontend : dev1, after des3, 10d
|
|
62
|
-
Desarrollo backend : dev2, after des3, 15d
|
|
63
|
-
section Pruebas
|
|
64
|
-
Pruebas unitarias : test1, after dev1, 5d
|
|
65
|
-
Pruebas de integración : test2, after dev2, 5d
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
## Ejemplo de Diagrama de Clases
|
|
69
|
-
|
|
70
|
-
```mermaid
|
|
71
|
-
classDiagram
|
|
72
|
-
class Animal {
|
|
73
|
-
+String nombre
|
|
74
|
-
+int edad
|
|
75
|
-
+void comer()
|
|
76
|
-
+void dormir()
|
|
77
|
-
}
|
|
78
|
-
class Perro {
|
|
79
|
-
+void ladrar()
|
|
80
|
-
}
|
|
81
|
-
class Gato {
|
|
82
|
-
+void maullar()
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
Animal <|-- Perro
|
|
86
|
-
Animal <|-- Gato
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
## Ejemplo de Diagrama de Estado
|
|
90
|
-
|
|
91
|
-
```mermaid
|
|
92
|
-
stateDiagram-v2
|
|
93
|
-
[*] --> Inactivo
|
|
94
|
-
Inactivo --> Procesando : Iniciar procesamiento
|
|
95
|
-
Procesando --> Éxito : Procesamiento exitoso
|
|
96
|
-
Procesando --> Error : Fallo en el procesamiento
|
|
97
|
-
Éxito --> [*]
|
|
98
|
-
Error --> [*]
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
## Ejemplo de Gráfico Circular
|
|
102
|
-
|
|
103
|
-
```mermaid
|
|
104
|
-
pie title Uso de Navegadores
|
|
105
|
-
"Chrome" : 65.2
|
|
106
|
-
"Firefox" : 15.3
|
|
107
|
-
"Safari" : 12.5
|
|
108
|
-
"Edge" : 5.2
|
|
109
|
-
"Otros" : 1.8
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
## Prueba de Sintaxis Errónea (debería mostrar un mensaje de error)
|
|
113
|
-
|
|
114
|
-
```mermaid
|
|
115
|
-
graph TD
|
|
116
|
-
A --> B
|
|
117
|
-
// Falta definición de flecha aquí
|
|
118
|
-
C --> D
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
Este archivo de prueba incluye varios tipos de diagramas Mermaid para verificar que la integración de Mermaid en ZEN funcione correctamente.
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
'title': 'Prueba de visualización de fórmulas KaTeX'
|
|
3
|
-
'summary': 'Este documento es un ejemplo para probar la visualización de fórmulas KaTeX, incluyendo múltiples fórmulas matemáticas en línea y en bloque, como E=mc^2, integrales, derivadas, series, funciones definidas por partes, tablas, matrices, etc., con el objetivo de verificar la renderización correcta de las fórmulas.'
|
|
4
|
-
'tags':
|
|
5
|
-
- 'KaTeX'
|
|
6
|
-
- 'prueba de fórmulas'
|
|
7
|
-
- 'fórmulas matemáticas'
|
|
8
|
-
- 'LaTeX'
|
|
9
|
-
- 'visualización'
|
|
10
|
-
- 'ejemplo de documento'
|
|
11
|
-
'inferred_lang': 'es-ES'
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
# Prueba de visualización de fórmulas KaTeX
|
|
15
|
-
|
|
16
|
-
Esta es una prueba de fórmula en línea: $ E = mc^2 $.
|
|
17
|
-
|
|
18
|
-
Esta es una prueba de fórmula en bloque:
|
|
19
|
-
|
|
20
|
-
$$
|
|
21
|
-
\int_a^b f(x) \, dx = F(b) - F(a)
|
|
22
|
-
$$
|
|
23
|
-
|
|
24
|
-
Esta es otra prueba de fórmula en bloque:
|
|
25
|
-
|
|
26
|
-
$$
|
|
27
|
-
\frac{d}{dx}e^x = e^x
|
|
28
|
-
$$
|
|
29
|
-
|
|
30
|
-
Esta es una prueba de fórmula compleja:
|
|
31
|
-
|
|
32
|
-
$$
|
|
33
|
-
\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}
|
|
34
|
-
$$
|
|
35
|
-
|
|
36
|
-
Prueba de fórmula con casos:
|
|
37
|
-
|
|
38
|
-
$$
|
|
39
|
-
f(x) =
|
|
40
|
-
\begin{cases}
|
|
41
|
-
x^2 & \text{si } x \geq 0 \\
|
|
42
|
-
-x & \text{si } x < 0
|
|
43
|
-
\end{cases}
|
|
44
|
-
$$
|
|
45
|
-
|
|
46
|
-
Fórmula con tabla:
|
|
47
|
-
|
|
48
|
-
$$
|
|
49
|
-
\begin{array}{c|c|c}
|
|
50
|
-
a & b & c \\
|
|
51
|
-
\hline
|
|
52
|
-
1 & 2 & 3 \\
|
|
53
|
-
4 & 5 & 6 \\
|
|
54
|
-
\end{array}
|
|
55
|
-
$$
|
|
56
|
-
|
|
57
|
-
Fórmula con matriz:
|
|
58
|
-
|
|
59
|
-
$$
|
|
60
|
-
\begin{pmatrix}
|
|
61
|
-
1 & 2 \\
|
|
62
|
-
3 & 4
|
|
63
|
-
\end{pmatrix}
|
|
64
|
-
$$
|
|
65
|
-
|
|
66
|
-
Prueba de fórmula con texto:
|
|
67
|
-
|
|
68
|
-
$$
|
|
69
|
-
E = mc^2 \quad \text{donde } m \text{ es la masa y } c \text{ es la velocidad de la luz}
|
|
70
|
-
$$
|
|
71
|
-
|
|
72
|
-
Fórmula generalizada de Kelly:
|
|
73
|
-
|
|
74
|
-
$$
|
|
75
|
-
f^* = \argmax_f \sum_{i \in X} P_i \ln (1 + f \cdot R_i)
|
|
76
|
-
$$
|
|
77
|
-
|
|
78
|
-
Por favor, asegúrate de que todas las fórmulas anteriores se muestren correctamente.
|