{"id":2151,"date":"2026-05-21T08:16:26","date_gmt":"2026-05-21T08:16:26","guid":{"rendered":"https:\/\/alterego.cc\/wp\/?p=2151"},"modified":"2026-05-25T08:19:28","modified_gmt":"2026-05-25T08:19:28","slug":"how-to-open-large-markdown-files-in-typora-by-increasing-the-2-mb-limit","status":"publish","type":"post","link":"https:\/\/alterego.cc\/wp\/2026\/05\/21\/how-to-open-large-markdown-files-in-typora-by-increasing-the-2-mb-limit\/","title":{"rendered":"How to Open Large Markdown Files in Typora by Increasing the 2 MB Limit"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I really like Typora. For writing and editing Markdown, I still prefer it over Visual Studio Code and many other tools. It feels cleaner, more focused, and generally much nicer to use when you just want to write without turning the whole thing into a development project. The problem I recently hit was that I was trying to open some larger Markdown files, and Typora refused to render them. The error was:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><picture><source type=\"image\/avif\" srcset=\"https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-1024x341.png.avif 1024w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-300x100.png.avif 300w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-768x256.png.avif 768w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-1536x512.png.avif 1536w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-2048x683.png.avif 2048w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-720x240.png.avif 720w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-520x173.png.avif 520w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-320x107.png.avif 320w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><source type=\"image\/webp\" srcset=\"https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-1024x341.png.webp 1024w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-300x100.png.webp 300w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-768x256.png.webp 768w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-1536x512.png.webp 1536w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-2048x683.png.webp 2048w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-720x240.png.webp 720w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-520x173.png.webp 520w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-320x107.png.webp 320w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"341\" src=\"https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-1024x341.png\" alt=\"Comic strip about increasing Typora\u2019s file size limit from 2 MB to 50 MB.\" class=\"wp-image-2154\" srcset=\"https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-1024x341.png 1024w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-300x100.png 300w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-768x256.png 768w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-1536x512.png 1536w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-2048x683.png 2048w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-720x240.png 720w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-520x173.png 520w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/07a47ccb-20ee-422e-ad2c-a380f8f4d1a8-320x107.png 320w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/picture><figcaption class=\"wp-element-caption\">A three-panel comic about Typora, oversized Markdown files, and the tiny tweak that raised the limit to 50 MB.<\/figcaption><\/figure>\n<\/div>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>\u201cThe file is too large to render in Typora.\u201d<\/strong><\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">After a bit of digging, I found that Typora has an internal maximum file size limit. The default value is:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>MAX_FILE_SIZE: 2e6<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That means&nbsp;<strong>2,000,000 bytes<\/strong>, so roughly&nbsp;<strong>2 MB<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That is not very much if you are working with large Markdown documents, exported notes, technical documentation, long guides, or anything with a lot of embedded content.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I assume Typora has this limit for performance reasons, which is fair enough. Typora renders Markdown live, so very large files could become slow, unstable, or memory-heavy. Still, because I really wanted to keep using Typora instead of moving to Visual Studio Code or another editor, I decided to increase the limit myself.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I changed it to:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>MAX_FILE_SIZE: 50e6<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That raises the limit to around&nbsp;<strong>50 MB<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So far, I have to say the performance seems pretty decent. I have not noticed any serious issues, crashes, or annoying slowdowns with the files I needed to open. Of course, your mileage may vary depending on the size and complexity of your Markdown files.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Important warning<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This is a workaround, not an official Typora setting.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You are editing one of Typora\u2019s internal application files, so keep the following in mind:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Back up the original file first.<\/li>\n\n\n\n<li>A future Typora update may overwrite your change.<\/li>\n\n\n\n<li>Very large files may still be slow or unstable.<\/li>\n\n\n\n<li>You may need administrator permissions to edit the file.<\/li>\n\n\n\n<li>Do this only if you are comfortable changing application files manually.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If something breaks, restore the backup file.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><picture><source type=\"image\/avif\" srcset=\"https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-1024x341.png.avif 1024w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-300x100.png.avif 300w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-768x256.png.avif 768w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-1536x512.png.avif 1536w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-2048x683.png.avif 2048w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-720x240.png.avif 720w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-520x173.png.avif 520w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-320x107.png.avif 320w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><source type=\"image\/webp\" srcset=\"https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-1024x341.png.webp 1024w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-300x100.png.webp 300w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-768x256.png.webp 768w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-1536x512.png.webp 1536w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-2048x683.png.webp 2048w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-720x240.png.webp 720w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-520x173.png.webp 520w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-320x107.png.webp 320w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"341\" src=\"https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-1024x341.png\" alt=\"Comic strip warning to back up Typora\u2019s internal files before changing the file size limit.\" class=\"wp-image-2156\" srcset=\"https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-1024x341.png 1024w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-300x100.png 300w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-768x256.png 768w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-1536x512.png 1536w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-2048x683.png 2048w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-720x240.png 720w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-520x173.png 520w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/2714c754-2032-4ab5-b30c-c667d5fc9342-320x107.png 320w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/picture><figcaption class=\"wp-element-caption\">A funny reminder that increasing Typora\u2019s limit is only a workaround: back up first, expect updates to reset it, and restore the original file if needed.<\/figcaption><\/figure>\n<\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Where the file is located<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">On my Windows installation, the file was here: <code>C:\\Program Files\\Typora\\resources\\appsrc\\window\\frame.js<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some installations may have it under the user profile instead: <code>C:\\Users\\YourUsername\\AppData\\Local\\Programs\\Typora\\resources\\appsrc\\window\\frame.js<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In my case, the correct path was: <code>C:\\Program Files\\Typora\\resources\\appsrc\\window\\frame.js<\/code><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">How to increase Typora\u2019s file size limit<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Close Typora completely before making any changes. Then go to: <code>C:\\Program Files\\Typora\\resources\\appsrc\\window\\<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Find this file: <code>frame.js<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before editing it, make a backup copy. For example, copy the file and rename the backup to: <code>frame.js.bak<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now open&nbsp;<code>frame.js<\/code>&nbsp;with a text editor. You may need to run the editor as Administrator if Windows does not let you save changes inside&nbsp;<code>C:\\Program Files<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Search for: <code>MAX_FILE_SIZE:2e6<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Depending on the formatting of your file, it may also appear as: <code>MAX_FILE_SIZE: 2e6<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Change it to: <code>MAX_FILE_SIZE:50e6<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Save the file and restart Typora. Now try opening your large Markdown file again. If everything worked, Typora should no longer block files larger than 2 MB.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">What the values mean<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The value uses JavaScript scientific notation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>2e6<\/code>&nbsp;means&nbsp;<strong>2,000,000 bytes<\/strong>, which is around&nbsp;<strong>2 MB<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>5e6<\/code>&nbsp;means&nbsp;<strong>5,000,000 bytes<\/strong>, which is around&nbsp;<strong>5 MB<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>10e6<\/code>&nbsp;means&nbsp;<strong>10,000,000 bytes<\/strong>, which is around&nbsp;<strong>10 MB<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>50e6<\/code>&nbsp;means&nbsp;<strong>50,000,000 bytes<\/strong>, which is around&nbsp;<strong>50 MB<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So the change I made was simply this:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>MAX_FILE_SIZE:2e6<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">changed to:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>MAX_FILE_SIZE:50e6<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That increases Typora\u2019s maximum file size from roughly&nbsp;<strong>2 MB<\/strong>&nbsp;to roughly&nbsp;<strong>50 MB<\/strong>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Should you go straight to 50 MB?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Not necessarily.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you only need to open slightly larger files, you may want to use a smaller value first.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For files up to around 5 MB, use\u00a0<code>5e6<\/code>.<\/li>\n\n\n\n<li>For files up to around 10 MB, use\u00a0<code>10e6<\/code>.<\/li>\n\n\n\n<li>For files up to around 50 MB, use\u00a0<code>50e6<\/code>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">I went with 50 MB because that suited my use case, and so far it seems fine. But if your Markdown file contains lots of images, huge tables, embedded HTML, diagrams, or massive code blocks, Typora may still become slow.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The limit is only one part of the story. The actual content of the file matters too.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Remember: Typora updates may reset this<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Because this change is made inside Typora\u2019s own application files, an update may replace&nbsp;<code>frame.js<\/code>&nbsp;and restore the default value.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So if the error comes back after updating Typora, check the file again and reapply the change if needed.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Final thoughts<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><picture><source type=\"image\/avif\" srcset=\"https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-1024x576.png.avif 1024w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-300x169.png.avif 300w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-768x432.png.avif 768w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-1536x864.png.avif 1536w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-720x405.png.avif 720w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-520x293.png.avif 520w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-320x180.png.avif 320w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8.png.avif 1672w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><source type=\"image\/webp\" srcset=\"https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-1024x576.png.webp 1024w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-300x169.png.webp 300w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-768x432.png.webp 768w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-1536x864.png.webp 1536w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-720x405.png.webp 720w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-520x293.png.webp 520w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-320x180.png.webp 320w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8.png.webp 1672w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-1024x576.png\" alt=\"Comic strip showing how to find and edit Typora\u2019s frame.js file to raise the file size limit.\" class=\"wp-image-2158\" srcset=\"https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-1024x576.png 1024w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-300x169.png 300w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-768x432.png 768w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-1536x864.png 1536w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-720x405.png 720w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-520x293.png 520w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8-320x180.png 320w, https:\/\/alterego.cc\/wp\/wp-content\/uploads\/2026\/05\/19a476fe-02d4-4bfe-8666-b21061096eb8.png 1672w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/picture><figcaption class=\"wp-element-caption\">A funny three-panel guide to finding Typora\u2019s internal frame.js file, changing MAX_FILE_SIZE from 2e6 to 50e6, and restarting Typora.<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Typora\u2019s default maximum file size of around 2 MB is probably there for sensible reasons. The developers likely want to avoid performance problems, freezes, and crashes with very large documents. But for my own use case, the default limit was too restrictive. I prefer Typora over Visual Studio Code and other editors when working with Markdown, so increasing the limit to 50 MB was worth trying. So far, it works well for me, and performance seems better than I expected.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Just make sure you back up the original file, understand that this is an unsupported workaround, and do not assume that every huge Markdown file will behave perfectly. For me, though, this solved the problem and let me keep using the editor I actually like.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A quick workaround for Typora\u2019s \u201cfile is too large\u201d error: how I raised the default 2 MB limit to 50 MB and kept using my favourite Markdown editor.<\/p>\n","protected":false},"author":1,"featured_media":2152,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[197],"tags":[237,238,244,245,236,239,235,233,234,241,243,242,232,76,240],"class_list":["post-2151","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-fixes","tag-2-mb-limit","tag-50-mb-limit","tag-blogging","tag-documentation","tag-file-size-limit","tag-frame-js","tag-large-files","tag-markdown","tag-markdown-editor","tag-productivity","tag-software-tweak","tag-tech-tutorial","tag-typora","tag-windows","tag-writing-tools"],"_links":{"self":[{"href":"https:\/\/alterego.cc\/wp\/wp-json\/wp\/v2\/posts\/2151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alterego.cc\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alterego.cc\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alterego.cc\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alterego.cc\/wp\/wp-json\/wp\/v2\/comments?post=2151"}],"version-history":[{"count":4,"href":"https:\/\/alterego.cc\/wp\/wp-json\/wp\/v2\/posts\/2151\/revisions"}],"predecessor-version":[{"id":2159,"href":"https:\/\/alterego.cc\/wp\/wp-json\/wp\/v2\/posts\/2151\/revisions\/2159"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alterego.cc\/wp\/wp-json\/wp\/v2\/media\/2152"}],"wp:attachment":[{"href":"https:\/\/alterego.cc\/wp\/wp-json\/wp\/v2\/media?parent=2151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alterego.cc\/wp\/wp-json\/wp\/v2\/categories?post=2151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alterego.cc\/wp\/wp-json\/wp\/v2\/tags?post=2151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}