feat: implement support for localizing event titles in UI with common practice divider
feat: implement support for custom localization in markdown content
This is done with a custom markdown Definition block.
Example:
Default language content
English content
Will be transformed depending on the locale option to either:
Default language content
or:
English content
Without the custom plugin, such as in ilmo.tietokilta.fi the definition won't be rendered at all and will function like a comment. You may still add the traditional divider with --- after each language definition and it will look nice on both versions.
closes #484
Before submitting the PR, please make sure you do the following
[x] If your PR is related to a previously discussed issue, please link to it here.
[x] Prefix your PR title with feat:, fix:, chore:, or docs:.
[x] This message body should clearly illustrate what problems it solves.
[x] Make sure the commit history is linear, up-to-date with main branch and does not contain any erroneous changes
Formatting and linting
[x] Format code with pnpm format and lint the project with pnpm lint
Description
feat: implement support for localizing event titles in UI with common practice divider
feat: implement support for custom localization in markdown content
This is done with a custom markdown
Definition
block.Example:
Will be transformed depending on the locale option to either:
or:
Without the custom plugin, such as in
ilmo.tietokilta.fi
the definition won't be rendered at all and will function like a comment. You may still add the traditional divider with---
after each language definition and it will look nice on both versions.closes #484
Before submitting the PR, please make sure you do the following
Formatting and linting
pnpm format
and lint the project withpnpm lint