mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
pygments_data: Move data to typescript.
This commit is contained in:
6
web/src/pygments_data.ts
Normal file
6
web/src/pygments_data.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import generated_pygments_data from "../generated/pygments_data.json";
|
||||
|
||||
type PygmentsLanguage = {priority: number; pretty_name: string};
|
||||
const langs: Record<string, PygmentsLanguage | undefined> = generated_pygments_data.langs;
|
||||
|
||||
export {langs};
|
||||
Reference in New Issue
Block a user