Code Monkey home page Code Monkey logo

Comments (23)

jackStalnaker avatar jackStalnaker commented on July 19, 2024 19

You can get the version in homebrew to work by removing the quarantine attribute from the cask file like this:
xattr -d com.apple.quarantine /usr/local/Caskroom/qlmarkdown/1.3.6/QLMarkdown.qlgenerator

from qlmarkdown.

adityasrini avatar adityasrini commented on July 19, 2024 7

Not working on GA Catalina.

from qlmarkdown.

tattali avatar tattali commented on July 19, 2024 6

It seems thats the quick look should be notarized with 99$ fee.

You can try this: #91 (comment)

Or also:

$ open ~/Library/QuickLook/QLMarkdown.qlgenerator/Contents/MacOS/

right click open on the binary
then in the Preferences panel > go to Security & Privacy > and click on Allow QLMarkdown
then if needed re run qlmanage

qlmanage -r

If you find an other way please share it

from qlmarkdown.

zhaoyaqiong avatar zhaoyaqiong commented on July 19, 2024 5

Not working on Catalina 10.15 (19A583)
image

from qlmarkdown.

parleer avatar parleer commented on July 19, 2024 5

Got it working on MacOS Catalina (10.15) with the patch provided above.

Here's an exact recipe for those interested:

# Get source code
git clone https://github.com/toland/qlmarkdown
cd qlmarkdown

# Update to latest discount library (Per QLMarkdown's Readme.markdown guide)
./discount-config/update-discount.sh

# Install patch for MacOS Catalina
curl -L -O https://github.com/toland/qlmarkdown/files/3746764/catalina.patch.txt
git apply catalina.patch.txt

# Build and install
xcrun xcodebuild
cp -R ./build/Release/QLMarkdown.qlgenerator ~/Library/QuickLook/

# Reset QuickLook cache and relaunch Finder
qlmanage -r
sudo killall Finder

Update: Script has been updated per @Neberheim.

from qlmarkdown.

relikd avatar relikd commented on July 19, 2024 4

or as noted later in the thread, run xattr -cr ~/Library/QuickLook/QLMarkdown.qlgenerator. Though it should be enough to run it on the zip file before extracting.

You can even create an Automator action and add it to your right click menu, e.g. "remove extended attributes". ;)

screen

from qlmarkdown.

danielcompton avatar danielcompton commented on July 19, 2024 3

I suspect this might also need to be notarized.

from qlmarkdown.

tattali avatar tattali commented on July 19, 2024 1

@diliedevs Weird, it no longer works for me either. Can you try with this one? It works for me even after qlmanage reset and computer restart. But I want be sure thats not only work on my mac.

QLMarkdown.qlgenerator.zip

Do not forget qlmanage -r

from qlmarkdown.

bnussbau avatar bnussbau commented on July 19, 2024 1

FYI: I had to download the release with Safari, with Chrome it wouldn't work on Catalina.
You can check using codesign -vvv --deep --strict /path/to/QLMarkdown.qlgenerator if the binary is valid. It should print out

QLMarkdown.qlgenerator: valid on disk
QLMarkdown.qlgenerator: satisfies its Designated Requirement

When downloading with Chrome i had an QLMarkdown.qlgenerator: unsealed contents present in the bundle root error.

from qlmarkdown.

parleer avatar parleer commented on July 19, 2024 1

@parleer running wget as written returned a "missing URL" error. Worked around it by downloading through browser and placing it manually. I was also not able to copy the directory using cp and had to drag & drop through the Finder, strangely. Also Finder is the correct case for the process. Got it up and running with the workarounds though, thanks!

@Neberheim Sorry, I wast trying to re-create my steps and missed a few things. I've updated the script and it should work now. Not sure why you were running into trouble with cp though.

from qlmarkdown.

tattali avatar tattali commented on July 19, 2024 1

Hi, here is the most common solution.
Before doing this, make sure that the plug-in is installed and that you have tried to preview a valid markdown file.

from qlmarkdown.

tfflyer avatar tfflyer commented on July 19, 2024

怎么办呢怎么办,大佬们,macos15用不了啊

from qlmarkdown.

stefanwascoding avatar stefanwascoding commented on July 19, 2024

After modifying the source as described in anthonygelibert/QLColorCode#51 (comment) I can use the resulting qlgenerator without problem on Catalina.

catalina.patch.txt

from qlmarkdown.

tthkbw avatar tthkbw commented on July 19, 2024

Thank you! This worked perfectly for me and I can now quicklook markdown again.

from qlmarkdown.

diliedevs avatar diliedevs commented on July 19, 2024

Hi, just installed the latest release, but it's still not working on Catalina 10.15 (19A602)

from qlmarkdown.

diliedevs avatar diliedevs commented on July 19, 2024

Yes, the new one works! Thanks for fixing this... having trouble with all my quicklook plugins. Yours is only the second one to be fixed. Thanks!!

from qlmarkdown.

tattali avatar tattali commented on July 19, 2024

Thanks to @stefanwascoding answer

from qlmarkdown.

sbarex avatar sbarex commented on July 19, 2024

Has anyone tried to see if it works on 10.15.1?
I updated my virtual machine and it seems that now the various qlgenerators works but I'm not sure if I did something strange in the settings or if it's a problem solved in the last update.

from qlmarkdown.

stefanwascoding avatar stefanwascoding commented on July 19, 2024

Has anyone tried to see if it works on 10.15.1?

@sbarex Updated macOS ... QLMarkdown (compiled from source) is still running.

from qlmarkdown.

Neberheim avatar Neberheim commented on July 19, 2024

@parleer running wget as written returned a "missing URL" error. Worked around it by downloading through browser and placing it manually. I was also not able to copy the directory using cp and had to drag & drop through the Finder, strangely. Also Finder is the correct case for the process. Got it up and running with the workarounds though, thanks!

from qlmarkdown.

Neberheim avatar Neberheim commented on July 19, 2024

@parleer It's a permissions issue it turns out, but giving iTerm full disk access in the Privacy system preference and doing the same with Terminal still yielded no results, even with sudo. Interestingly, while no exit message was returned with qlmarkdown as the working directory, sending it from my home directory returned cp: /Library/QuickLook/QLMarkdown.qlgenerator: Permission denied

So strangely ~ % sudo cp -R ~/qlmarkdown/build/Release/QLMarkdown.qlgenerator [...] ended up working properly, even though qlmarkdown % sudo cp [...] did not.

Since it's outside the purview of this thread, I'll leave it at that and investigate elsewhere.

from qlmarkdown.

brad-provident avatar brad-provident commented on July 19, 2024

I get this error after trying to install the patch:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

from qlmarkdown.

parleer avatar parleer commented on July 19, 2024

@brad-provident Run xcode-select --install to install Command Line Tools

from qlmarkdown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.