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.
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.
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\ Diary\ 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:
This does not seem to work in Lion. Anyone else having the same issue?
This was written on Lion and hasn't changed since. Are you running iA Writer? It kills all Markdown QuickLook plugins.
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.
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.
load more (1 remarks)
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.