eXist-db / eXide

A web-based XQuery IDE for eXist-db
GNU General Public License v3.0
45 stars 32 forks source link

Align mime types with eXist 3.0.0+ #695

Closed joewiz closed 4 months ago

joewiz commented 4 months ago

In https://github.com/eXist-db/exist/pull/1136, released with eXist 3.0.0, eXist changed the mime types associated with Javascript and Markdown files. This PR aligns eXide's mime type detection with that PR. With this PR applied, when opening Javascript or Markdown files, eXide will correctly detect the file type and apply syntax highlighting, linting, and other syntax-related features automatically.

Fixes https://github.com/eXist-db/exist/issues/5338 reported by @Speedlearner5.

joewiz commented 4 months ago

p.s. eXide is already tied to eXist 6.1.0, so this change won't affect eXide's eXist dependency. See https://github.com/eXist-db/eXide/blob/11886fba81a7164d685cea450e7cf7f849ec9a37/expath-pkg.xml.tmpl#L4.

joewiz commented 4 months ago

@reinhapa @duncdrum Thanks! This PR is included in eXide v3.5.3: https://github.com/eXist-db/eXide/releases/tag/v3.5.3.