From b42b7ce4e8af459f3873553745994dfeae092651 Mon Sep 17 00:00:00 2001 From: ema Date: Sat, 5 Jul 2025 03:20:56 +0800 Subject: [PATCH] Add syntax highlighting for SubRip Subtitle (.srt) files --- .../Syntax/Dark/SubRipSubtitle.xshd | 37 +++++++++++++++++++ .../Syntax/Light/SubRipSubtitle.xshd | 37 +++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark/SubRipSubtitle.xshd create mode 100644 QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Light/SubRipSubtitle.xshd diff --git a/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark/SubRipSubtitle.xshd b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark/SubRipSubtitle.xshd new file mode 100644 index 0000000..8edc2b4 --- /dev/null +++ b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark/SubRipSubtitle.xshd @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + :,-> <> + + + + + + + + + + + + + + + + + + + + + diff --git a/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Light/SubRipSubtitle.xshd b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Light/SubRipSubtitle.xshd new file mode 100644 index 0000000..f66ea06 --- /dev/null +++ b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Light/SubRipSubtitle.xshd @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + :,-> <> + + + + + + + + + + + + + + + + + + + + +