mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	feat(code): support mips (closes #1406)
This commit is contained in:
		| @@ -98,6 +98,7 @@ export const MIME_TYPES_DICT: readonly MimeTypeDefinition[] = Object.freeze([ | ||||
|     { title: "Markdown", mime: "text/x-markdown", highlightJs: "markdown", default: true }, | ||||
|     { title: "Mathematica", mime: "text/x-mathematica", highlightJs: "mathematica" }, | ||||
|     { title: "mbox", mime: "application/mbox" }, | ||||
|     { title: "MIPS Assembler", mime: "text/x-asm-mips", highlightJs: "mipsasm" }, | ||||
|     { title: "mIRC", mime: "text/mirc" }, | ||||
|     { title: "Modelica", mime: "text/x-modelica" }, | ||||
|     { title: "MS SQL", mime: "text/x-mssql", highlightJs: "sql" }, | ||||
|   | ||||
| @@ -9,7 +9,8 @@ describe("Markdown export", () => { | ||||
|             "language-text-x-nginx-conf": "nginx", | ||||
|             "language-text-x-diff": "diff", | ||||
|             "language-application-javascript-env-frontend": "javascript", | ||||
|             "language-application-javascript-env-backend": "javascript" | ||||
|             "language-application-javascript-env-backend": "javascript", | ||||
|             "language-text-x-asm-mips": "mips" | ||||
|         }; | ||||
|  | ||||
|         for (const [ input, output ] of Object.entries(conversionTable)) { | ||||
|   | ||||
| @@ -8,7 +8,8 @@ describe("markdown", () => { | ||||
|             "nginx": "language-text-x-nginx-conf", | ||||
|             "diff": "language-text-x-diff", | ||||
|             "javascript": "language-application-javascript-env-backend", | ||||
|             "css": "language-text-css" | ||||
|             "css": "language-text-css", | ||||
|             "mips": "language-text-x-asm-mips" | ||||
|         }; | ||||
|  | ||||
|         for (const [ input, output ] of Object.entries(conversionTable)) { | ||||
|   | ||||
| @@ -98,6 +98,7 @@ export const MIME_TYPES_DICT: readonly MimeTypeDefinition[] = Object.freeze([ | ||||
|     { title: "Markdown", mime: "text/x-markdown", highlightJs: "markdown", default: true }, | ||||
|     { title: "Mathematica", mime: "text/x-mathematica", highlightJs: "mathematica" }, | ||||
|     { title: "mbox", mime: "application/mbox" }, | ||||
|     { title: "MIPS Assembler", mime: "text/x-asm-mips", highlightJs: "mips" }, | ||||
|     { title: "mIRC", mime: "text/mirc" }, | ||||
|     { title: "Modelica", mime: "text/x-modelica" }, | ||||
|     { title: "MS SQL", mime: "text/x-mssql", highlightJs: "sql" }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user