feat(text): add Nix language

This commit is contained in:
Elian Doran 2025-05-11 19:45:37 +03:00
parent 2b192eb1b9
commit cf7c5d3cb4
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@ export const MIME_TYPES_DICT: readonly MimeTypeDefinition[] = Object.freeze([
{ title: "msgenny", mime: "text/x-msgenny" }, { title: "msgenny", mime: "text/x-msgenny" },
{ title: "MUMPS", mime: "text/x-mumps" }, { title: "MUMPS", mime: "text/x-mumps" },
{ title: "MySQL", mime: "text/x-mysql", highlightJs: "sql" }, { title: "MySQL", mime: "text/x-mysql", highlightJs: "sql" },
{ title: "Nix", mime: "text/x-nix" }, { title: "Nix", mime: "text/x-nix", highlightJs: "nix" },
{ title: "Nginx", mime: "text/x-nginx-conf", highlightJs: "nginx" }, { title: "Nginx", mime: "text/x-nginx-conf", highlightJs: "nginx" },
{ title: "NSIS", mime: "text/x-nsis", highlightJs: "nsis" }, { title: "NSIS", mime: "text/x-nsis", highlightJs: "nsis" },
{ title: "NTriples", mime: "application/n-triples" }, { title: "NTriples", mime: "application/n-triples" },

View File

@ -107,7 +107,7 @@ export const MIME_TYPES_DICT: readonly MimeTypeDefinition[] = Object.freeze([
{ title: "msgenny", mime: "text/x-msgenny" }, { title: "msgenny", mime: "text/x-msgenny" },
{ title: "MUMPS", mime: "text/x-mumps" }, { title: "MUMPS", mime: "text/x-mumps" },
{ title: "MySQL", mime: "text/x-mysql", highlightJs: "sql" }, { title: "MySQL", mime: "text/x-mysql", highlightJs: "sql" },
{ title: "Nix", mime: "text/x-nix" }, { title: "Nix", mime: "text/x-nix", highlightJs: "nix" },
{ title: "Nginx", mime: "text/x-nginx-conf", highlightJs: "nginx" }, { title: "Nginx", mime: "text/x-nginx-conf", highlightJs: "nginx" },
{ title: "NSIS", mime: "text/x-nsis", highlightJs: "nsis" }, { title: "NSIS", mime: "text/x-nsis", highlightJs: "nsis" },
{ title: "NTriples", mime: "application/n-triples" }, { title: "NTriples", mime: "application/n-triples" },

View File

@ -29,7 +29,7 @@
* Code notes: * Code notes:
* Updated to a new generation of CodeMirror. Since it's a significant update, bug reports are welcome. * Updated to a new generation of CodeMirror. Since it's a significant update, bug reports are welcome.
* Added the GDScript (Godot) language. * Added the GDScript (Godot) language.
* Added the Nix language. * Added the Nix language (and also in code blocks for text notes).
* Mermaid diagrams: basic syntax highlight (not all diagram types are supported) and code folding. * Mermaid diagrams: basic syntax highlight (not all diagram types are supported) and code folding.
## 📖 Documentation ## 📖 Documentation