Topic: https://brettterpstra.com/2012/03/19/multimarkdown-quick-look-with-style/
hide preview

What's next? verify your email address for reply notifications!

Patrick Welker 12y, 161d ago

Support for Umlauts, accents and such would be nice :) -- but it's great as it is.

hide preview

What's next? verify your email address for reply notifications!

Paul Nielan 12y, 206d ago

Test comment to check posting time.

hide preview

What's next? verify your email address for reply notifications!

Paul Nielan 12y, 207d ago

Removed IAWriter using AppCleaner. Is that enough?

Tried both Brett's and elmimmo's fork. in ~.

Restarted finder.

Ran qlmanage -r

Still don't get .md file displayed.

remark link
hide preview

What's next? verify your email address for reply notifications!

Brett 12y, 207d ago

run qlmanage -d 4 filename.md and look at the end of the output to see what plugin it decided to use or if there are any errors in the output.

remark link parent
hide preview

What's next? verify your email address for reply notifications!

Paul Nielan 12y, 206d ago

Followed this advice. Saw that another Markdown app called MarkMyWords from Xelaton was using an internal QuickLook generator, but the behavior was null. This looks to be similar to the behavior Brett mentioned at top of thread with iaWriter. So I deleted MarkMyWords with AppCleaner. Did a "qlmanage -r", but no luck. However, after I completely restarted. all is working. See below.


StashAir:Desktop pen$ qlmanage -p -d1 Health&#092 Diary&#092 2.md | grep markdown
[DEBUG] Preview test for Health%20Diary%202.md -- file://localhost/Users/pen/Desktop/. Content type UTI: net.daringfireball.markdown
[DEBUG] Previewing file://localhost/Users/pen/Desktop/Health%20Diary%202.md. Content type UTI: net.daringfireball.markdown. Generator used:


hide preview

What's next? verify your email address for reply notifications!

Paul Nielan 12y, 207d ago

This does not seem to work in Lion. Anyone else having the same issue?

remark link
hide preview

What's next? verify your email address for reply notifications!

Brett 12y, 207d ago

This was written on Lion and hasn't changed since. Are you running iA Writer? It kills all Markdown QuickLook plugins.

remark link parent
hide preview

What's next? verify your email address for reply notifications!

elmimmo 12y, 207d ago

Brett, both yours and Fletcher Penney's versions use UTI's to tell Quicklook what documents it can preview, yet do not bother registering those UTIs to specific extensions, effectively depending on having other software doing that installed in order for the Quicklook plugin to work.

So yes, meaning, I am afraid, not working for many people, Lion or any other OS version. My fork fixes that, as I explained before in the comments. Feel free to have a look.

remark link parent
hide preview

What's next? verify your email address for reply notifications!

Paul Nielan 12y, 207d ago

Comment

Removed IAWriter using AppCleaner. Is that enough?

Tried both Brett's and elmimmo's fork. in ~.

Restarted finder.

Ran qlmanage -r

Still don't get .md file displayed.

remark link parent

load more (1 remarks)
hide preview

What's next? verify your email address for reply notifications!

Paul Nielan 12y, 207d ago

To be clear: ~/Library/QuickLook

hide preview

What's next? verify your email address for reply notifications!

elmimmo 12y, 207d ago

Try my fork.

I have not bothered adding styles yet, though.

hide preview

What's next? verify your email address for reply notifications!

elmimmo 12y, 350d ago

…and to fix issue 1. I am on fire.

remark link
hide preview

What's next? verify your email address for reply notifications!

mgk 12y, 286d ago

You are on fire! Thanks much for the fixes.

hide preview

What's next? verify your email address for reply notifications!

elmimmo 12y, 351d ago

It would be nice if you addressed Fletcher Penney's MMD-QuickLook's issue 2 regarding UTF-8 and issue 1 regarding the plugin not recognizing markdown documents based on their extension (i.e. not working at all).

Fletcher Penney has dismissed [issue 2] as a non-issue, but while I wholeheartedly disagree (the purpose of the plugin is not generating HTML snippets, which is MMD's command-line tool, but generating previews, hence, full HTML documents that always render appropriately no matter local defaults), I do not have the skills to fix it in my clone.

[issue 1], essentially, makes your version of the plugin as broken as Fletcher Penney's: it does not work on many computers, as it depends on having other 3rd-party apps installed, associating certain UTIs to certain extensions.

remark link
hide preview

What's next? verify your email address for reply notifications!

elmimmo 12y, 350d ago

…and to [fix issue 1]. I am on fire.

hide preview

What's next? verify your email address for reply notifications!

elmimmo 12y, 351d ago

Well, apparently I did have the skills to address issue 2

hide preview

What's next? verify your email address for reply notifications!

joe 12y, 363d ago

thanks man !! ..great job ..i follow you in next app upgrades ;)

hide preview

What's next? verify your email address for reply notifications!

Hubert CAMPAN 12y, 364d ago

Thanks. It is great.
Problem with accentuated and unicode characters though

Continue your great work !

Hubert

remark link
hide preview

What's next? verify your email address for reply notifications!

Hubert CAMPAN 12y, 362d ago

Follow up :
Does work with accentuated characters if the document has metadata at the top of a the MultiMarkdown document.

Cheers

Hubert

hide preview

What's next? verify your email address for reply notifications!

Adrian Boioglu 13y, 7h ago

Thanks. I needed that. Awesome job!

hide preview

What's next? verify your email address for reply notifications!