github-markdown-toc.go icon indicating copy to clipboard operation
github-markdown-toc.go copied to clipboard

[BUG] Can't work well when the text > 400KB

Open hongchengjian opened this issue 5 years ago • 1 comments

{"message":"This API renders Markdown text up to 400 KB in size. The requested text is too large to render via the API.","errors":[{"resource":"Markdown","field":"data","code":"too_large"}],"documentation_url":"https://docs.github.com/v3/markdown/"}

hongchengjian avatar Nov 05 '20 15:11 hongchengjian

As the tip suggests, the article is too long.

400KB,400 * 1024 = 409 600 letters.

Maybe you should split it into two files.

yansheng836 avatar Nov 06 '20 12:11 yansheng836