I fixed a bug where the HTML sent was including link to a non working URL in every line of the medium article. I found that by simply sending the markdown, medium was handling it perfectly. I kept the mechanism of adding a title first if there wasn't.
I also added a sentence that says : "Original article : https://urltoarticle.com" below the title
Known issue to fix :
When sending code blocks inside numbered list medium is reseting the number, I will be trying to replace the numbered list to a bulleted list in an attempt to make it look good in the coming days.
I fixed a bug where the HTML sent was including link to a non working URL in every line of the medium article. I found that by simply sending the markdown, medium was handling it perfectly. I kept the mechanism of adding a title first if there wasn't. I also added a sentence that says : "Original article : https://urltoarticle.com" below the title
Known issue to fix : When sending code blocks inside numbered list medium is reseting the number, I will be trying to replace the numbered list to a bulleted list in an attempt to make it look good in the coming days.