abstract plugin interface

This commit is contained in:
Paddy Xu
2018-01-27 16:22:48 +02:00
parent d50d757022
commit 56af2311b9
87 changed files with 2844 additions and 2703 deletions

View File

@@ -21,6 +21,7 @@ using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Threading;
using QuickLook.Common;
using QuickLook.Plugin.HtmlViewer;
namespace QuickLook.Plugin.MarkdownViewer
@@ -37,7 +38,7 @@ namespace QuickLook.Plugin.MarkdownViewer
public bool CanHandle(string path)
{
return !Directory.Exists(path) && new[] {".md", ".rmd", ".maekdown"}.Any(path.ToLower().EndsWith);
return !Directory.Exists(path) && new[] {".md", ".rmd", ".markdown"}.Any(path.ToLower().EndsWith);
}
public void Prepare(string path, ContextObject context)