Flayms / Markdown2Pdf

.NET library for converting markdown to PDF.
https://www.nuget.org/packages/Markdown2Pdf/
MIT License
5 stars 1 forks source link

TOC don't work with cyrillic headers #73

Closed ABatenev closed 4 months ago

ABatenev commented 4 months ago

If I had header as #Первый заголовок in TOC this header becomes unclickable, and page tracking is lost

Flayms commented 4 months ago

Seems like Markdig allows by default only ASCII-Characters for the header IDs (see https://github.com/xoofx/markdig/issues/95). I am going to change the default behaviour of Markdown2Pdf here like described in the issue. This probably shouldn't cause any additional problems since chrome supports HTML5.

ABatenev commented 4 months ago

Super! May I know when this will be available via nuget?

Flayms commented 4 months ago

👍 Gonna publish a new version soon, will remind you then

Flayms commented 4 months ago

https://github.com/Flayms/Markdown2Pdf/releases/tag/v2.1.0