From 290f849c64c9f198f09b592daa48ecdae957375f Mon Sep 17 00:00:00 2001 From: Radu Date: Fri, 24 Nov 2023 16:52:57 -0500 Subject: Support GFM using `remarked` and fix some bugs - This avoids edge cases in the primitive parser I wrote. - Add KaTeX stylesheet (cause of rendering issues, not Pronto). - Bundle with Webpack. --- manifest.json | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) (limited to 'manifest.json') diff --git a/manifest.json b/manifest.json index 2a4f64c..d05aa60 100644 --- a/manifest.json +++ b/manifest.json @@ -2,30 +2,10 @@ "manifest_version": 3, "name": "ASAP", "version": "0.1.0", - "description": "Adds LaTeX and code support to Pronto.", - "content_scripts": [{ - "matches": ["*://*.pronto.io/*"], - "js": [ - "hljs/highlight.min.js", - "hljs/latex.min.js", - "katex/katex.min.js", - "katex/auto-render.min.js", - "page.js" - ], - "css": [ - "hljs/default.min.css", - "styles.css" - ] - }], + "description": "Adds Markdown and LaTeX support to Pronto.", + "content_scripts": [{ "matches": ["*://*.pronto.io/*"], "js": ["page.js"] }], "web_accessible_resources": [ - { - "resources": ["STIXTwoMath-Regular.otf"], - "matches": ["*://*.pronto.io/*"] - } + { "resources": ["*"], "matches": ["*://*.pronto.io/*"] } ], - "browser_specific_settings": { - "gecko": { - "id": "asap@pml4t.net" - } - } + "browser_specific_settings": { "gecko": { "id": "asap@pml4t.net" } } } -- cgit v1.2.3