MaxMelcher / AzureDevOps.WikiPDFExport

Export Azure DevOps Wiki to PDF
MIT License
187 stars 62 forks source link

Markdown elements in the input are too deeply nested - depth limit exceeded #76

Closed yfrindel closed 2 years ago

yfrindel commented 2 years ago

Hi. I have the following error with an export done with the AzureDevOps.WikiPDFExport plugin :

System.ArgumentException: Markdown elements in the input are too deeply nested - depth limit exceeded. Input is most likely not sensible or is a very large table. at Markdig.Helpers.ThrowHelper.g__DepthLimitExceeded|16_0() at Markdig.Renderers.RendererBase.WriteChildren(ContainerInline containerInline) at Markdig.Renderers.Html.Inlines.DelimiterInlineRenderer.Write(HtmlRenderer renderer, DelimiterInline obj) at Markdig.Renderers.MarkdownObjectRenderer`2.Write(RendererBase renderer, MarkdownObject obj)

Any ideas how I can fix the issue please? (the error message is not enough clear, and I don't know where is the problem)

image

MaxMelcher commented 2 years ago

Do you have a table on the cobas-configuration page? Could you share that with me?

Get Outlook for iOShttps://aka.ms/o0ukef


From: yfrindel @.> Sent: Tuesday, July 20, 2021 1:54:53 PM To: MaxMelcher/AzureDevOps.WikiPDFExport @.> Cc: Subscribed @.***> Subject: [MaxMelcher/AzureDevOps.WikiPDFExport] Markdown elements in the input are too deeply nested - depth limit exceeded (#76)

Hi. I have the following error with an export done with the AzureDevOps.WikiPDFExport plugin :

System.ArgumentException: Markdown elements in the input are too deeply nested - depth limit exceeded. Input is most likely not sensible or is a very large table. at Markdig.Helpers.ThrowHelper.g__DepthLimitExceeded|16_0() at Markdig.Renderers.RendererBase.WriteChildren(ContainerInline containerInline) at Markdig.Renderers.Html.Inlines.DelimiterInlineRenderer.Write(HtmlRenderer renderer, DelimiterInline obj) at Markdig.Renderers.MarkdownObjectRenderer`2.Write(RendererBase renderer, MarkdownObject obj)

Any ideas how I can fix the issue please? (the error message is not enough clear, and I don't know where is the problem)

[image]https://user-images.githubusercontent.com/22955005/126319472-c9a4f85d-89e7-4c7a-a3ea-616f3a53f632.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/MaxMelcher/AzureDevOps.WikiPDFExport/issues/76, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAH3LN2ZI5MUL7227Q24ZZLTYVPY3ANCNFSM5AVUS3KA.

yfrindel commented 2 years ago

don't know if this text is the reason of the failure : image but I have downloaded again the 5 images in the wiki page, and I put this text in a "code" block, and it works now.

MaxMelcher commented 2 years ago

Thanks for letting me know!

Get Outlook for iOShttps://aka.ms/o0ukef


From: yfrindel @.> Sent: Tuesday, July 20, 2021 2:38:54 PM To: MaxMelcher/AzureDevOps.WikiPDFExport @.> Cc: Max Melcher @.>; Comment @.> Subject: Re: [MaxMelcher/AzureDevOps.WikiPDFExport] Markdown elements in the input are too deeply nested - depth limit exceeded (#76)

don't know if this text is the reason of the failure : [image]https://user-images.githubusercontent.com/22955005/126325118-01c064e6-0907-47a5-b8de-76d191f3af07.png but I have downloaded again the 5 images in the wiki page, and I put this text in "code" block, and it works now.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/MaxMelcher/AzureDevOps.WikiPDFExport/issues/76#issuecomment-883359193, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAH3LN4ZJDHRPMSEFOHBYBTTYVU55ANCNFSM5AVUS3KA.

yfrindel commented 2 years ago

I can confirm you that it's this text the problem (don't know why. Maybe a part of the text is considered as a markdown) : image