1
0
mirror of https://github.com/laurent22/joplin.git synced 2026-04-24 19:55:13 +02:00
Files
2025-07-21 21:37:45 +01:00

11 lines
357 B
TypeScript

import allLanguages from '../utils/markdown/codeBlockLanguages/allLanguages';
// Ensure languages we use are loaded. Without this, tests may randomly fail (LanguageDescriptions
// are loaded asynchronously, in the background).
const loadLanguages = async () => {
for (const lang of allLanguages) {
await lang.load();
}
};
export default loadLanguages;