tag:support.markedapp.com,2011-09-11:/discussions/problems/336-everwatchrb-not-populating-the-marked-previewmd-fileMarked: Discussion 2016-08-11T03:36:33Ztag:support.markedapp.com,2011-09-11:Comment/158905882012-05-09T21:09:58Z2012-05-09T21:09:58Zeverwatch.rb not populating the Marked Preview.md file<div><p>I was informed two days ago that the update that just came out
broke the everwatch system. I'll be looking into is as soon as I
can.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/158905882012-05-09T21:18:26Z2014-01-02T15:03:08Zeverwatch.rb not populating the Marked Preview.md file<div><p>Ah, the nature of life! Thanks for the quick response. Really
looking forward to integrating Marked into my Evernote workflow.
Marked is proving to be more and more valuable as I move more of my
writing and content creation to MarkDown/MultiMarkdown. Great
little solution!</p>
<p>Thanks!</p>
<p>Ken</p></div>kburke12tag:support.markedapp.com,2011-09-11:Comment/158905882012-05-09T21:34:13Z2012-05-09T21:34:51Zeverwatch.rb not populating the Marked Preview.md file<div><p>Just found it. Change line 8 to:</p>
<pre>
<code>watch_folder = File.expand_path("~/Library/Application Support/Evernote/accounts/Evernote")</code>
</pre>
<p>(the path is ~/Library/Application
Support/Evernote/accounts/Evernote)</p>
<p>Should be good to go. I'll update the Bonus Pack soon.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/158905882012-05-09T22:14:44Z2014-01-02T15:03:08Zeverwatch.rb not populating the Marked Preview.md file<div><p>I copy pasted the change, made sure it was correct, and saved
the script. Ran the script from the Terminal, opened the newly
created Marked Preview.md, and updated a MarkDown formatted note in
Evernote and saved. The Terminal shows lots of activity, but
nothing populates the actual Marked Preview.md window.
Thoughts?</p></div>kburke12tag:support.markedapp.com,2011-09-11:Comment/158905882012-05-09T22:16:56Z2012-05-09T22:16:56Zeverwatch.rb not populating the Marked Preview.md file<div><p>I'm having someone try out the version of the script I'm using
for testing, I'll post results here. I can verify that the tweak
makes it work for me without any issues. Will update.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/158905882012-05-17T17:35:11Z2014-01-02T15:03:08Zeverwatch.rb not populating the Marked Preview.md file<div><p>Any word from your tester? Just wondering if "it's not you, it's
me..." and I need to go figure out what's gone off track
locally.</p></div>kburke12tag:support.markedapp.com,2011-09-11:Comment/158905882012-05-24T14:06:17Z2012-05-24T14:06:17Zeverwatch.rb not populating the Marked Preview.md file<div><p>Nope, I lost touch with the guy who was trying it out. It's
still working for me right now, but I'll find some more testers
before I make any definitive statements.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/158905882012-05-24T17:34:50Z2014-01-02T15:03:08Zeverwatch.rb not populating the Marked Preview.md file<div><p>Thanks for the update. I'm going to walk the path again over the
weekend just to look again for breaks in how I have it configured.
If I find anything, I'll let you know what I tweaked and the
outcome.</p></div>kburke12tag:support.markedapp.com,2011-09-11:Comment/158905882012-06-18T18:23:50Z2012-06-18T18:23:51Zeverwatch.rb not populating the Marked Preview.md file<div><p>I wanted to let you know that after making the change to
watch_file, the preview is working for me from Evernote.</p>
<p>However, the strangest formatting error is happening with
markdown in Evernote, but not Vim. This: (i'm using code indent
here to Tender doesn't eat my *)</p>
<pre>
<code> * One
* Two</code>
</pre>
<p>is generating</p>
<ul>
<li>One *Two</li>
</ul>
instead of
<ul>
<li>One
<ul>
<li>Two</li>
</ul>
</li>
</ul>
<p>Marked works correctly with the same text copied/pasted into
vim.</p>
<p>The other markdown i've tested is working, but I haven't gone
too far since indented lists are my most used markdown feature. I
did try ordered lists instead, but got the same result: anything
indented is added to the previous item, as above.</p>
<p>I am not seeing any errors from the watcher script.</p></div>Jeff F.tag:support.markedapp.com,2011-09-11:Comment/158905882012-06-18T18:32:37Z2014-01-02T15:03:09Zeverwatch.rb not populating the Marked Preview.md file<div><p>Thanks - I'll dig back into my implementation of the script.
Since I can "see" the script watching changes in Terminal, it's
likely I missed a small, but crucial, step.</p></div>kburke12tag:support.markedapp.com,2011-09-11:Comment/158905882012-11-29T04:24:33Z2012-11-29T04:24:34Zeverwatch.rb not populating the Marked Preview.md file<div><p>I ran into this same problem and the thread helped. If you don't
mind, here's my solution for preserving HTML selectively in the
integration.</p>
<p><a href=
"http://compileyouidontevenknowyou.blogspot.com/2012/11/everwatch-evernote-marked.html">
http://compileyouidontevenknowyou.blogspot.com/2012/11/everwatch-ev...</a></p>
<p>Now I can finally stop using nvAlt (at least for a few
days)...</p></div>Dan Rosenstarktag:support.markedapp.com,2011-09-11:Comment/158905882012-12-13T01:57:22Z2012-12-13T01:57:22Zeverwatch.rb not populating the Marked Preview.md file<div><p>I started playing around with your version, Dan, and it works
well with the new Evernote. I started noticing how bad a job
textutil does, though. I hooked it up through my <a href=
"http://brettterpstra.com/scripting-readability-markdownify-for-clipping-web-pages/">
read2text</a> hack and I'm getting much better results.</p>
<p>Also, I found a node.js package called <a href=
"https://npmjs.org/package/html-md">html-md</a> that does an even
better job of converting HTML to Markdown, if you have node
installed.</p>
<p>I'll try to work up a version to include in the Bonus Pack
soon.</p></div>Brett