feat(highlighting): add perl

This commit is contained in:
Elian Doran 2025-05-18 21:36:18 +03:00
parent 755d74feff
commit 59ca0e981a
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -41,6 +41,7 @@
* Added support for XML-DTD.
* Added support for Jinja2.
* Added support for ClojureScript.
* Added support for Perl.
* Mermaid diagrams: basic syntax highlight (not all diagram types are supported) and code folding.
* Slight organization in Appearance settings: code block themes are now in "Text Notes", added a "Related settings" section in Appearance.
* [Added support for opening and activating a note in a new tab using Ctrl+Shift+click on notes in the launcher pane, note tree, or note images](https://github.com/TriliumNext/Notes/pull/1854) by @SiriusXT

View File

@ -110,7 +110,7 @@ const byMimeType: MimeRecord = {
"text/x-octave": null,
"text/x-oz": null,
"text/x-pascal": () => import("highlight.js/lib/languages/delphi"),
"text/x-perl": null,
"text/x-perl": () => import("highlight.js/lib/languages/perl"),
"text/x-pgsql": () => import("highlight.js/lib/languages/sql"),
"text/x-php": () => import("highlight.js/lib/languages/php"),
"text/x-pig": null,