Scrivener and Asciidoctor displaying all documents in the Draft folder

tcowan's Avatar


07 Dec, 2018 02:29 AM

Marked 2 is fabulous.

I have configured Marked 2 Version 2.5.27 (964) to process files in my Scrivener (3.1.1) draft folder as Asciidoctor files. It works well with just one Asciidoctor file, but if there exists more than one, Marked 2 appears to want to render every Asciidoctor in the Draft folder and concatenate the output in the Marked2 window.

When it does this, the output is "mangled". In any event, I just want to see the one I am currently working on.

Is there a way for Marked 2 to be configured to display only a single document or a single folder of Asciidoctor files in Drafts, rather than the entire Drafts folder?

  1. Support Staff 1 Posted by Brett on 07 Dec, 2018 06:40 PM

    Brett's Avatar

    That's the way Marked works with Scrivener. It gathers all files listed
    in the Drafts folder, concatenates them, and runs the concatenated
    document through whatever processor is active. There's currently no way
    to view a single document. Note that Scrivener doesn't provide me with
    any access to the current editor, all I'm able to do is watch the entire
    document bundle for changes, then go in and concatenate with any save
    that happens. I have no way to determine the current document.

    It would be possible to use the include/exclude from compile to disable
    all documents and then selectively enable the one you wanted to preview,
    but it would be pretty inconvenient.


  2. tcowan closed this discussion on 04 Jan, 2019 01:33 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac