mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-29 03:23:25 +08:00 
			
		
		
		
	fix(text): PHP, Sass, TypeScript/JSX not rendered in code blocks
This commit is contained in:
		
							parent
							
								
									7b1299a758
								
							
						
					
					
						commit
						bb14667bdf
					
				| @ -117,7 +117,7 @@ export const MIME_TYPES_DICT: readonly MimeTypeDefinition[] = Object.freeze([ | |||||||
|     { title: "PEG.js", mime: "null" }, |     { title: "PEG.js", mime: "null" }, | ||||||
|     { title: "Perl", mime: "text/x-perl", default: true }, |     { title: "Perl", mime: "text/x-perl", default: true }, | ||||||
|     { title: "PGP", mime: "application/pgp" }, |     { title: "PGP", mime: "application/pgp" }, | ||||||
|     { title: "PHP", mime: "text/x-php", default: true }, |     { title: "PHP", mime: "text/x-php", default: true, highlightJs: "php" }, | ||||||
|     { title: "Pig", mime: "text/x-pig" }, |     { title: "Pig", mime: "text/x-pig" }, | ||||||
|     { title: "PLSQL", mime: "text/x-plsql", highlightJs: "sql" }, |     { title: "PLSQL", mime: "text/x-plsql", highlightJs: "sql" }, | ||||||
|     { title: "PostgreSQL", mime: "text/x-pgsql", highlightJs: "pgsql" }, |     { title: "PostgreSQL", mime: "text/x-pgsql", highlightJs: "pgsql" }, | ||||||
| @ -135,7 +135,7 @@ export const MIME_TYPES_DICT: readonly MimeTypeDefinition[] = Object.freeze([ | |||||||
|     { title: "Ruby", mime: "text/x-ruby", highlightJs: "ruby", default: true }, |     { title: "Ruby", mime: "text/x-ruby", highlightJs: "ruby", default: true }, | ||||||
|     { title: "Rust", mime: "text/x-rustsrc", highlightJs: "rust" }, |     { title: "Rust", mime: "text/x-rustsrc", highlightJs: "rust" }, | ||||||
|     { title: "SAS", mime: "text/x-sas", highlightJs: "sas" }, |     { title: "SAS", mime: "text/x-sas", highlightJs: "sas" }, | ||||||
|     { title: "Sass", mime: "text/x-sass" }, |     { title: "Sass", mime: "text/x-sass", highlightJs: "scss" }, | ||||||
|     { title: "Scala", mime: "text/x-scala" }, |     { title: "Scala", mime: "text/x-scala" }, | ||||||
|     { title: "Scheme", mime: "text/x-scheme" }, |     { title: "Scheme", mime: "text/x-scheme" }, | ||||||
|     { title: "SCSS", mime: "text/x-scss", highlightJs: "scss" }, |     { title: "SCSS", mime: "text/x-scss", highlightJs: "scss" }, | ||||||
| @ -169,7 +169,7 @@ export const MIME_TYPES_DICT: readonly MimeTypeDefinition[] = Object.freeze([ | |||||||
|     { title: "TTCN", mime: "text/x-ttcn" }, |     { title: "TTCN", mime: "text/x-ttcn" }, | ||||||
|     { title: "Turtle", mime: "text/turtle" }, |     { title: "Turtle", mime: "text/turtle" }, | ||||||
|     { title: "Twig", mime: "text/x-twig", highlightJs: "twig" }, |     { title: "Twig", mime: "text/x-twig", highlightJs: "twig" }, | ||||||
|     { title: "TypeScript-JSX", mime: "text/typescript-jsx" }, |     { title: "TypeScript-JSX", mime: "text/typescript-jsx", highlightJs: "typescript" }, | ||||||
|     { title: "TypeScript", mime: "application/typescript", highlightJs: "typescript" }, |     { title: "TypeScript", mime: "application/typescript", highlightJs: "typescript" }, | ||||||
|     { title: "VB.NET", mime: "text/x-vb", highlightJs: "vbnet" }, |     { title: "VB.NET", mime: "text/x-vb", highlightJs: "vbnet" }, | ||||||
|     { title: "VBScript", mime: "text/vbscript", highlightJs: "vbscript" }, |     { title: "VBScript", mime: "text/vbscript", highlightJs: "vbscript" }, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran