700k size fail
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.
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
Support Staff 1 Posted by Brett on 12 Jul, 2013 08:33 PM
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 Posted by Filip Verhaeghe on 12 Jul, 2013 08:52 PM
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:
Support Staff 3 Posted by Brett on 12 Jul, 2013 09:05 PM
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 Posted by Filip Verhaeghe on 12 Jul, 2013 10:16 PM
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 Posted by Filip Verhaeghe on 12 Jul, 2013 10:17 PM
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 Posted by Filip Verhaeghe on 13 Jul, 2013 12:02 AM
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 Posted by Filip Verhaeghe on 13 Jul, 2013 10:55 AM
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!
Support Staff 8 Posted by Brett on 13 Jul, 2013 03:13 PM
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.
Support Staff 9 Posted by Brett on 19 Jul, 2013 01:05 AM
Hbu ?, ?&B
—
Sent from Mailbox for iPhone
10 Posted by Kenneth Ballene... on 19 Jul, 2013 01:17 AM
What?
---
Kenneth Ballenegger
www.kswizz.com
Support Staff 11 Posted by Brett on 19 Jul, 2013 01:23 AM
I think I but dialed. Sorry.
-Brett