Previewing a post in Marked

gr
greiggy
Posts: 65
Joined: Sat Dec 18, 2010 12:47 pm
Platform: Mac, Win + iOS
Location: Herefordshire, United Kingdom
Contact:

Sun Dec 29, 2013 1:27 am Post

Is there a way I can view a Markdown-formatted individual post.

I tend to use Marked for this. I can see the output rendered in Markdown if I drag the whole file from where it is saved (Dropbox as it happens) on to Marked.

I was wondering if there is a way I can preview an individual entry in Marked -- or in any other way?

Ni
Niran
Posts: 73
Joined: Wed Jun 20, 2007 1:28 pm

Mon Dec 30, 2013 1:30 pm Post

How about a clipboard preview with Marked 2 ?

Ph
Philipp
Posts: 184
Joined: Fri Jan 20, 2012 8:42 pm
Platform: Mac + Windows
Location: Germany
Contact:

Mon Dec 30, 2013 9:19 pm Post

Exactly what I wanted to ask, now that I have marked 2 and multimarkdown composer.

It is so great to be able to read ones stuff with different themes. Best editing I've ever had. Right now I copy&paste text from scrivener into mmd composer and check it in the mmd composer preview AND in mark2. I do all the editing in the composer and when I think it's ok, I copy&paste it back to scrivener.

Not the best way of doing things, hence why I would love to have 'open into' in scrivener. So I could save all the copy&paste. Opening in Marked 2 directly isn't so great for me, as I have some notes (stuffy for my blog) outside the drafts folder and marked 2 only lists the notes inside the drafts folder.

Ni
Niran
Posts: 73
Joined: Wed Jun 20, 2007 1:28 pm

Mon Dec 30, 2013 11:52 pm Post

There is a service in the Marked bonus pack to preview selection with Marked

http://support.markedapp.com/kb/how-to- ... nd-bundles

Alternatively you could use keyboard maestro to copy and transfer to Marked 2 clipboard preview.

Ph
Philipp
Posts: 184
Joined: Fri Jan 20, 2012 8:42 pm
Platform: Mac + Windows
Location: Germany
Contact:

Tue Dec 31, 2013 12:54 am Post

Thanks, but as I read this was only needed for the old Marked versions. It has been incorporated now. But only works for notes inside the drafts folder, not outside.

I could give Maestro a try though. Didn't think of that, silly me... Having it incorporated inside Scriv would be great though. RMB on a note or folder and a 'view in Marked', bang! Editing in Scriv would then update the view, too. Perfect workflow IMHO.

Ni
Niran
Posts: 73
Joined: Wed Jun 20, 2007 1:28 pm

Tue Dec 31, 2013 1:45 am Post

The issue I think with incorporating a direct link with Marked/MMC is the format of the file. I believe that Scrivener keeps the files as RTF, but Marked/MMC need markdown/text files. However, if you were working on a set of files synced externally and point Marked/MMC to the synced files, you could view and edit the files with Marked/MMC.

Ph
Philipp
Posts: 184
Joined: Fri Jan 20, 2012 8:42 pm
Platform: Mac + Windows
Location: Germany
Contact:

Tue Dec 31, 2013 10:15 am Post

Now that what would be one kind of a workflow :) Maybe this would even be an option when doing the final edit?

Btw, I read that Marked does all the converting from rtf to txt automatically in a cache. But the best and easiest way would be to beg Keith for implementing a little new Marked export feature ;)
Or ask the author of Marked if he could refine his scrivx import to let the user define the folder to view.

Ni
Niran
Posts: 73
Joined: Wed Jun 20, 2007 1:28 pm

Tue Dec 31, 2013 1:53 pm Post

Unfortunately, Marked 2 does not process RTF files:

Untitled 2.jpg
Untitled 2.jpg (36.73 KiB) Viewed 3452 times


I did try using keyboard maestro and clipboard preview - it worked well.

https://dl.dropboxusercontent.com/u/3796092/preview.mp4

But, a live preview would be nice.

Ph
Philipp
Posts: 184
Joined: Fri Jan 20, 2012 8:42 pm
Platform: Mac + Windows
Location: Germany
Contact:

Tue Dec 31, 2013 4:38 pm Post

Yeah! I got it. And it's not bad at all. Live Preview and so on.

1. In this version of Marked2 all text you want to preview definitely has to be inside the drafts folder. In a future version this may change.
2. Then, in Scrivener, you set the option 'include in compile' for the nodes/folders you want to view in Marked2.
How you do this is entirely up to you. Either you set the option in the outliner (I did this for the main folders inside the drafts folder) or/and in the compile options, where you can also set the parts you want to compile. If you set them in the compiler, you can simply select/deselect all with the alt-key.
You can cancel and get out of the compiler window.
Marked2 will only import the text with the option 'include to compile' on.
3. In Marked2 you then open the scrivx file and voila, live editing with only the files you wanted.

Normally scrivener saves every two seconds of no action, so that will approximately be the time the update will take. You can change the time. Maybe you should pause dropbox sync then.

It doesn't matter where you edit, as Marked2 will show a small red line on the left border of the window where you edited something.

This works pretty nice. I only wish I had a very large screen to keep Scrivener and Marked2 next to each other :)

Have a happy new year!
Philipp

gr
greiggy
Posts: 65
Joined: Sat Dec 18, 2010 12:47 pm
Platform: Mac, Win + iOS
Location: Herefordshire, United Kingdom
Contact:

Tue Dec 31, 2013 10:12 pm Post

I'd overlooked the 'Clipboard preview' in Marked -- that works well for me for short takes.

Agreed, it would be great if Keith could see his way to including a 'Preview in Marked' option within Scrivener, especially for those of us who write for online publication.

Ni
Niran
Posts: 73
Joined: Wed Jun 20, 2007 1:28 pm

Wed Jan 01, 2014 6:07 am Post

Phillipp nice find. I gave it a try using compile and opening the file in marked 2 - worked well.

Ch
ChiaLynn
Posts: 38
Joined: Wed Nov 16, 2011 2:11 am
Platform: Mac
Contact:

Tue Jan 14, 2014 6:49 pm Post

Philipp wrote:Yeah! I got it. And it's not bad at all. Live Preview and so on.

2. Then, in Scrivener, you set the option 'include in compile' for the nodes/folders you want to view in Marked2.
How you do this is entirely up to you. Either you set the option in the outliner (I did this for the main folders inside the drafts folder) or/and in the compile options, where you can also set the parts you want to compile. If you set them in the compiler, you can simply select/deselect all with the alt-key.
You can cancel and get out of the compiler window.
Marked2 will only import the text with the option 'include to compile' on.


Thank you so much for this! I've been using the "Preview Selection in Marked" and "Preview Clipboard" options to view manageable chunks of a project because I couldn't figure out how to view only the document I was working on. Now I know!

Danke, Philipp!

Ph
Philipp
Posts: 184
Joined: Fri Jan 20, 2012 8:42 pm
Platform: Mac + Windows
Location: Germany
Contact:

Wed Jan 15, 2014 10:24 am Post

Bitteschön, immer gerne :)

AmberV has also some more nifty shortcuts to help http://literatureandlatte.com/forum/viewtopic.php?f=4&t=25707#p167553 and maybe maybe maybe, Keith will implement a new command to even more enhance the workflow.

gr
greiggy
Posts: 65
Joined: Sat Dec 18, 2010 12:47 pm
Platform: Mac, Win + iOS
Location: Herefordshire, United Kingdom
Contact:

Wed Jan 29, 2014 12:29 pm Post

Philipp wrote:
Normally scrivener saves every two seconds of no action, so that will approximately be the time the update will take. You can change the time. Maybe you should pause dropbox sync then.


I set the compile options, compiled and sent to Dropbox -- opened a preview in Marked 2. But I couldn't get it to update. The only way seemed to be to compile again.

Can get by with 'Preview from clipboard'. But a live preview would be nice.

Mr
MrGruff
Posts: 208
Joined: Tue Jun 05, 2007 4:22 pm
Location: UK
Contact:

Wed Jan 29, 2014 8:35 pm Post

I'm not clear from your post what you are opening with Marked2 as you mention compiling.

I may have misunderstood you, but the compile options are just used as a quick way to set the 'include in compile'. Once that's done you work with the Scrivener project in Marked2.