PDFsharp & MigraDoc Forum

PDFsharp - A .NET library for processing PDF & MigraDoc - Creating documents on the fly
It is currently Sun Feb 15, 2026 7:14 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules

Also see our new Tailored Support & Services site.



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Convert markdown to pdf
PostPosted: Tue Dec 16, 2025 5:41 pm 
Offline

Joined: Tue Dec 16, 2025 5:39 pm
Posts: 2
Hi, is there a way to use markdown as input in order to generate the pdf in a direct way?


Top
 Profile  
Reply with quote  
PostPosted: Thu Dec 18, 2025 3:19 pm 
Offline
PDFsharp Guru
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 1067
Location: CCAA
DavidCR wrote:
Hi, is there a way to use markdown as input in order to generate the pdf in a direct way?
There is a package that uses PDFsharp to render HTML to PDF.
So all you need is a library that converts Markdown to HTML.
I'm not aware of any libraries for the direct way MD to PDF.

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 12, 2026 10:05 am 
Offline

Joined: Tue Dec 16, 2025 5:39 pm
Posts: 2
TH-Soft wrote:
DavidCR wrote:
Hi, is there a way to use markdown as input in order to generate the pdf in a direct way?
There is a package that uses PDFsharp to render HTML to PDF.
So all you need is a library that converts Markdown to HTML.
I'm not aware of any libraries for the direct way MD to PDF.


Do you know the name of the package that renders HTML to PDF?


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 15, 2026 6:58 am 
Offline
PDFsharp Guru
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 1067
Location: CCAA
Hi!

I entered "HTML PDFsharp" at nuget.org and up it came:
https://www.nuget.org/packages/HtmlRend ... e-body-tab

See also:
https://github.com/ArthurHub/HTML-Renderer/releases

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 655 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group