From cde4ec4df480a5de28230aa556a40007b67c63c0 Mon Sep 17 00:00:00 2001 From: Raphael Borun Das Gupta Date: Thu, 29 Oct 2026 15:25:42 +0100 Subject: [PATCH] add pdfpc extension The files in which pdfpc (PDF presenter console; https://pdfpc.github.io/) stores speaker notes etc. are just JSON files with a specific schema, similar to how GeoJSON is just JSON with a (different) specific schema. --- identify/extensions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/identify/extensions.py b/identify/extensions.py index e0b5633..2cf2d0b 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -198,6 +198,7 @@ 'pas': {'text', 'pascal'}, 'patch': {'text', 'diff'}, 'pdf': {'binary', 'pdf'}, + 'pdfpc': {'text', 'pdfpc', 'json'}, 'pem': {'text', 'pem'}, 'php': {'text', 'php'}, 'php4': {'text', 'php'},