Commit Graph

70 Commits

Author SHA1 Message Date
ema ae67d5247c Add Mermaid support and .mmd detection #1893
build / build (push) Has been cancelled
build / publish (push) Has been cancelled
2026-03-27 10:45:20 +08:00
ema c23731d8c0 Update the bundled minified Mermaid runtime to 11.13.0 2026-03-24 10:05:41 +08:00
ema c0716671c3 Bump dependencies
build / build (push) Has been cancelled
build / publish (push) Has been cancelled
2026-02-19 01:26:14 +08:00
ema 0491f17718 Fix taskbar icon intermittently missing after Explorer restart #1864 2026-02-05 00:29:45 +08:00
ema aaf78abf3c Fix markdown not supporting absolute resource paths
Enhanced the logic for resolving image and file paths in MarkdownPanel to better handle both absolute and relative paths, ensuring compatibility with Windows path formats and improving file existence checks.
2026-01-16 11:40:56 +08:00
ema c64885485d Make all Plugin classes sealed
Changed all Plugin classes and PluginManager to be sealed, preventing further inheritance. This improves code safety and clarifies the intended usage of these classes.
2026-01-08 01:06:37 +08:00
ema a6210e177b Update copyright year to 2026 2026-01-06 02:24:42 +08:00
ema 85b1e9b024 Update NuGet package versions in plugin projects 2025-12-09 23:57:57 +08:00
ema 76dfa34928 Update NuGet package versions in project files
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
Upgraded several NuGet dependencies across multiple csproj files, including Microsoft.Web.WebView2, Google.Protobuf, MsgReader, bblanchon.PDFiumV8.Win32, and Lib.Harmony. This ensures compatibility with the latest features and bug fixes from upstream packages.
2025-11-26 01:07:28 +08:00
ema 9bcf9905d5 Update NuGet package versions in project files
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
Several .csproj files were updated to use newer versions of dependencies, including Newtonsoft.Json, Microsoft.Web.WebView2, Magick.NET-Q8-AnyCPU, Google.Protobuf, MsgReader, and bblanchon.PDFiumV8.Win32. This ensures compatibility with the latest features and bug fixes from these packages.
2025-10-30 02:42:30 +08:00
ema c748f6d7e4 Update NuGet package versions in project files
This commit updates various NuGet package references to newer versions across multiple QuickLook plugin and main project .csproj files. These updates include dependencies such as WixToolset.Dtf.WindowsInstaller, UTF.Unknown, FreeTypeSharp, Microsoft.Web.WebView2, Magick.NET-Q8-AnyCPU, Google.Protobuf, MsgReader, HelixToolkit, bblanchon.PDFiumV8.Win32, Melanchall.DryWetMidi, WPF-UI.Violeta, and Lib.Harmony, ensuring the projects use the latest compatible releases.
2025-09-08 02:42:09 +08:00
ema 21a3dd3d4b Fix the same previous issue in other plugins
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-08-15 02:17:50 +08:00
Copilot 9fe37520d3 Support Mermaid diagram rendering in MarkdownViewer (#1730)
* Implement Mermaid diagram support for MarkdownViewer

Co-authored-by: emako <24737061+emako@users.noreply.github.com>

* Replace the mermaid.min.js

https://cdn.jsdelivr.net/npm/mermaid@11.4.1/dist/mermaid.min.js

* Fix Mermaid diagram rendering by updating markdown-it highlight function

Co-authored-by: emako <24737061+emako@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: emako <24737061+emako@users.noreply.github.com>
Co-authored-by: ema <mccoy39082@163.com>
2025-08-02 02:09:52 +08:00
copilot-swe-agent[bot] a38b7a450a Fix code alignment by adding space to align .Replace method calls
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
Co-authored-by: emako <24737061+emako@users.noreply.github.com>
2025-07-23 23:57:13 +08:00
copilot-swe-agent[bot] 8ad5f39eab Add missing using System.Linq to fix compile error
Co-authored-by: emako <24737061+emako@users.noreply.github.com>
2025-07-23 23:57:13 +08:00
copilot-swe-agent[bot] 83cfd2a3d8 Remove unnecessary Translations.config and simplify RTL detection code
Co-authored-by: emako <24737061+emako@users.noreply.github.com>
2025-07-23 23:57:13 +08:00
copilot-swe-agent[bot] 4840a87858 Add RTL support for markdown files
Co-authored-by: emako <24737061+emako@users.noreply.github.com>
2025-07-23 23:57:13 +08:00
ema 32ce27e447 Add MathJax inline math support to Markdown #1640
MSBuild / build (push) Waiting to run
MSBuild / publish (push) Blocked by required conditions
2025-07-05 11:58:41 +08:00
ema 3fce8b4f53 Add Lottie Files animation preview support 2025-07-05 09:25:22 +08:00
ema d7f482511f Update package versions in plugin projects 2025-07-05 05:07:26 +08:00
ema 21071a62d1 Update package dependencies 2025-06-30 02:02:53 +08:00
ema 2c330a0136 Chore of disable nullable in MarkdownViewer 2025-06-24 01:45:52 +08:00
ema 83ae611af1 No markdown resource extraction #1661 #1670 2025-06-24 01:33:07 +08:00
ema 06e7dbaae7 Code Cleanup 2025-05-23 02:39:26 +08:00
ema 5bf422a17f Delay the initialization of the MarkdownViewer 2025-05-10 08:28:16 +08:00
ema a0a46832ed Update copyright information 2025-05-06 21:04:58 +08:00
ema 41fa5ed1ed Support more Markdown file extension #1562 #1601 2025-04-28 19:12:04 +08:00
ema ffecab95be New built-in plugin FontViewer 2024-12-30 03:05:06 +08:00
ema 28ec7655f8 Code Cleanup 2024-12-12 01:21:18 +08:00
ema 66d5c36cbc Reduce duplicate dependencies on publish files 2024-12-07 06:09:14 +08:00
ema 77b5eb454e Reduce duplicate dependencies on publish files 2024-12-07 04:58:07 +08:00
ema 50276003f8 Mark markdown web files as linguist-vendored 2024-12-06 17:54:31 +08:00
ema fc150febcb Support markdown file ext with .mdown #1349 2024-12-06 12:35:59 +08:00
ema 72d3c3187b Support markdown viewer fallback folder #508 2024-12-06 12:31:51 +08:00
ema 06e796ac0b Merge pull request #1490 from KamilDev/feature/improve-markdown-viewer
Improved MarkdownViewer
2024-12-06 10:02:20 +08:00
KamilDev ec62cb4238 Add update mechanism to MarkdownViewer resources, move link opening behavior to WebpagePanel 2024-12-06 01:48:58 +11:00
KamilDev cf7b6ad46f Improved MarkdownViewer
#### Features
- Uses the latest [github-markdown.css](https://github.com/sindresorhus/github-markdown-css/blob/main/github-markdown.css) file that contains styling support for both dark and light mode.
- Table of Contents has an improved design, and:
	- The width can be resized.
	- TOC headings are automatically highlighted to help track your position in the file.
- Improved fullscreen layout based on Github.com behavior.
- External links clicked will open in default browser instead of doing nothing.
- Uses [markdownItAnchor](https://github.com/valeriangalliat/markdown-it-anchor) to allow heading anchor links in the file to work.
- Uses [highlight.js](https://github.com/highlightjs/highlight.js) to provide syntax highlighting to codeblocks.
#### Changes
- Made changes to allow the `md2html.html` file to use relative file imports for better maintainability.
- MarkdownViewer can now easily be customized by users by modifying files in `<Quicklook data folder>/QuickLook.Plugin.MarkdownViewer/`
- Caching and `localStorage` is now supported thanks to these changes.
- Prevent default behavior of spacebar scrolling the page, while we use spacebar to dismiss the preview.
- Sets `WebView` `DefaultBackgroundColor` to prevent white flash in dark mode. After the page has loaded, sets `DefaultBackgroundColor` back to white to have the expected default behavior on HTML pages that don't specify any background color.
#### Clean up
- Removed the need for `jQuery`.
- Removed old polyfill code.
2024-12-04 22:16:21 +11:00
ema a5c3d5b143 Restore AssemblyInfo 2024-12-04 16:53:51 +08:00
ema 507b157a40 Convert to .NET SDK type csproj 2024-11-30 17:00:22 +08:00
Paddy Xu f726841d99 update deps 2021-11-15 23:52:02 +01:00
Paddy Xu 7cf0d0affb Fix #539: replace IE WebView with Edge WebView2 2021-01-10 14:50:56 +01:00
Paddy Xu c0ca430883 Fix #733: detect Markdown encoding 2020-09-20 13:44:11 +02:00
Paddy Xu 0d8d405cc2 Fix #639: MathJax in Markdown viewer 2020-05-16 21:14:35 +03:00
Paddy Xu 4f496f5ab8 wip plugin installer 2018-08-28 23:49:35 +03:00
Paddy Xu 6bc990bbf9 move to Plugin namespace 2018-02-12 19:30:30 +02:00
Paddy Xu 197bfee1da fix path 2018-02-12 19:30:29 +02:00
Paddy Xu 56af2311b9 abstract plugin interface 2018-02-12 19:30:28 +02:00
Paddy Xu 804876a987 remove strong-name signing 2018-01-27 14:44:53 +02:00
Paddy Xu 76dd2feb30 remove all destructors 2018-01-24 19:11:49 +02:00
Paddy Xu 8440bc6fc7 remove transparent window 2017-11-02 21:49:20 +02:00