Skip to content

Commit

Permalink
Heads extension, redesigned UI and bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbarex committed Dec 29, 2020
1 parent 46d9c85 commit f09f1e3
Show file tree
Hide file tree
Showing 108 changed files with 3,607 additions and 1,267 deletions.
18 changes: 16 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
1.0.b7
New features:
- `Heads extension` to auto create anchor for the heads.
- Redesigned UI.
- Auto refresh menu to automatically update the preview when an option is changed (the auto refresh do not apply when you change the example text).
- The quicklook extension detects the settings changed on the host application. Remember that macOS can store the quicklook preview in a cache, so to see the new settings applied try to open the preview of a different file.
- On the host application you can open a .md file to view in the preview (you can also drag & drop the over the text editor).
- Import css inside the support folder.

Bugfix:
- Typo in application name.
- Null pointer bug on inlineimage extension.
- Fix on the image mime detection.

1.0.b6
New Features:
- better ui.
Expand All @@ -8,7 +22,7 @@ Bug fix:

1.0.b5
New features:
- Experimental option to choose to open links inside the quicklook preview window or in the default browser (but on big sur do not works).
- Experimental option to choose to open links inside the quicklook preview window or in the default browser (but on Big Sur do not works).
Bugfix:
- Fix missing sparkle framework.

Expand All @@ -18,7 +32,7 @@ New features:
- Save button enabled only when there are some changed settings. in case of error a warning panel will be shown.
- Debug options.

Buf fix:
Bug fix:
- fix missing WKWebView class on Catalina


Expand Down
2 changes: 1 addition & 1 deletion HTMLConverter/htmlconverter.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (

// Remember to release the logger!
func getLogger() *ul.Logger {
lo := ul.New_object("org.sbarex.QLMardown.GoLibrary", "quicklook.qlmarkdown-extension")
lo := ul.New_object("org.sbarex.QLMarkdown.GoLibrary", "quicklook.qlmarkdown-extension")
return lo
}

Expand Down
2 changes: 2 additions & 0 deletions QLExtension/PreviewViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ class PreviewViewController: NSViewController, QLPreviewingController {
override func loadView() {
super.loadView()
// Do any additional setup after loading the view.

Settings.shared.startMonitorChange()
}

internal func getBundleContents(forResource: String, ofType: String) -> String?
Expand Down

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1230"
wasCreatedForAppExtension = "YES"
version = "2.0">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "831A8C3E258ABADA00E36182"
BuildableName = "Markdown QL Extension.appex"
BlueprintName = "Markdown QL Extension"
ReferencedContainer = "container:QLMarkdown.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "83598E6025818808004664D3"
BuildableName = "QLMarkdown.app"
BlueprintName = "QLMarkdown"
ReferencedContainer = "container:QLMarkdown.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = ""
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
launchStyle = "0"
askForAppToLaunch = "Yes"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES"
launchAutomaticallySubstyle = "2">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "83598E6025818808004664D3"
BuildableName = "QLMarkdown.app"
BlueprintName = "QLMarkdown"
ReferencedContainer = "container:QLMarkdown.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES"
launchAutomaticallySubstyle = "2">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "83598E6025818808004664D3"
BuildableName = "QLMarkdown.app"
BlueprintName = "QLMarkdown"
ReferencedContainer = "container:QLMarkdown.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
78 changes: 78 additions & 0 deletions QLMarkdown.xcodeproj/xcshareddata/xcschemes/QLMardown.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1230"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "83598E6025818808004664D3"
BuildableName = "QLMarkdown.app"
BlueprintName = "QLMarkdown"
ReferencedContainer = "container:QLMarkdown.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "83598E6025818808004664D3"
BuildableName = "QLMarkdown.app"
BlueprintName = "QLMarkdown"
ReferencedContainer = "container:QLMarkdown.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "83598E6025818808004664D3"
BuildableName = "QLMarkdown.app"
BlueprintName = "QLMarkdown"
ReferencedContainer = "container:QLMarkdown.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Loading

0 comments on commit f09f1e3

Please sign in to comment.