700k size fail

Filip Verhaeghe's Avatar

Filip Verhaeghe

12 Jul, 2013 08:04 PM

Hi,

I'm trying to edit a 6 MB markdown document, but Marked reports "Size Fail", stating the limit is 700k. Not sure why that. It suggests changing the extension to txt or md, but doing so doesn't change anything.
Is there a way to overcome this limit?

Filip.

  1. Support Staff 1 Posted by Brett on 12 Jul, 2013 08:33 PM

    Brett's Avatar

    There is no limit if the file extension is txt or md. Is it possible to get a copy of your document privately to test?

    -Brett

  2. 2 Posted by Filip Verhaeghe on 12 Jul, 2013 08:52 PM

    Filip Verhaeghe's Avatar

    It's generated documentation of our source code, so it is confidential. Any other way I could provide inputs?

    On 12-jul.-2013, at 22:33, Brett <[email blocked]> wrote:

  3. Support Staff 3 Posted by Brett on 12 Jul, 2013 09:05 PM

    Brett's Avatar

    Do a s/\w/X/ and just send me the redacted version. It will at least give me an idea what we're looking at. While Marked can technically handle large files, 6MB is really insane for a text file and it should be broken up into chapters and compiled at the end. Marked makes it possible to compile automatically based on an index file. The problem arises because Marked does more processing on the text than just a quick pass through MultiMarkdown or other processor, including some JavaScript string handling that can get out of hand on very, very large documents.

  4. 4 Posted by Filip Verhaeghe on 12 Jul, 2013 10:16 PM

    Filip Verhaeghe's Avatar

    Hi Brett,

    I've attached an obfuscated markdown text.

    Unfortunately, the document is already broken into logical pieces, but for audit reasons the file should not be split further into pieces. The markdown is considered the Base Truth, with the PDF a being supplied to be nice to the human reader. If the PDF and markdown differ, the markdown is the one that is true (mostly because PDF generation correctness is not mathematically proven - plain text does not have this problem). The plain-text markdown easily fulfills the audit criteria, yet still renders into something nice to read. Anyway, the point is I cannot split the file into pieces to comply with the rules.

    Filip.

    On 12-jul.-2013, at 23:05, "Brett" <[email blocked]> wrote:

  5. 5 Posted by Filip Verhaeghe on 12 Jul, 2013 10:17 PM

    Filip Verhaeghe's Avatar

    In case you are wondering, we are a company of 5 guys, and we build software for aircraft cockpits (for the displays the pilot uses). So pretty strong regulations apply.

    On 12-jul.-2013, at 23:05, "Brett" <[email blocked]> wrote:

  6. 6 Posted by Filip Verhaeghe on 13 Jul, 2013 12:02 AM

    Filip Verhaeghe's Avatar

    In case it cannot be solved easily, any suggestions to convert the .md to .html with the Swiss layout would also be helpful as a intermediate solution.

    Filip.
    ---
    Filip Verhaeghe
    CEO

    (UN)MANNED
     email: [email blocked] | mobile: +32 473 382721 | mail: Sint-Trudostraat 34, 8310 Brugge, Belgium
            www.unmanned.aero | office: +32 50 343326 | visit: Langerei 7, 8000 Brugge, Belgium

    On 13-jul.-2013, at 00:14, Filip Verhaeghe <[email blocked]> wrote:

  7. 7 Posted by Filip Verhaeghe on 13 Jul, 2013 10:55 AM

    Filip Verhaeghe's Avatar

    Backtracking, I think I *can* split the file. So I did, I split it into 32 parts, with a index document including them all. It takes some serious time, but Marked gets the index document assembled!

  8. Support Staff 8 Posted by Brett on 13 Jul, 2013 03:13 PM

    Brett's Avatar

    The other solution for speedier results would be to run the document directly through MultiMarkdown on the command line and insert the Marked CSS for it into the resulting HTML. If you want to go that route and need a hand, let me know.

  9. Support Staff 9 Posted by Brett on 19 Jul, 2013 01:05 AM

    Brett's Avatar

    Hbu  ?, ?&B

    Sent from Mailbox for iPhone

  10. 10 Posted by Kenneth Ballene... on 19 Jul, 2013 01:17 AM

    Kenneth Ballenegger's Avatar

    What?

    ---
    Kenneth Ballenegger
    www.kswizz.com

  11. Support Staff 11 Posted by Brett on 19 Jul, 2013 01:23 AM

    Brett's Avatar

    I think I but dialed. Sorry.

    -Brett

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? 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