MaxMelcher / AzureDevOps.WikiPDFExport

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

Image sizing with width only #30

Closed MJZawacki closed 3 years ago

MJZawacki commented 3 years ago

AzDo wiki's can support image scaling with the width only so the regex needs to handle the following sytax

![image text](../.attachments/image.png =500x)

Diom commented 3 years ago

I have the same issue. Fix would be here I guess, but I cannot test/build that myself.

MaxMelcher commented 3 years ago

let me check that one - I thought we had this fixed.

MaxMelcher commented 3 years ago

changed the regex and it supports now all combinations:

Pictures with Width/Height

![image.png](/.attachments/500.png =250x250)

Pictures with Width only

![image.png](/.attachments/500.png =300x)

Pictures with Height only

![image.png](/.attachments/500.png =x150)

Diom commented 3 years ago

I got back to generating docs this week, and I'm happy to say I tried all of the combinations successfully. Thanks!

MaxMelcher commented 3 years ago

Thanks for letting me know!