Hacker News new | ask | show | jobs
by ishu3101 3493 days ago
When I upload a markdown file ending with the file extension .md, I'm getting an error saying Error! not a valid markdown file and then it loads the http://www.markdownpdfconverter.com/upload webpage with the following result

{ "pdfUrl": "http://res.cloudinary.com/markdown2pdf/raw/upload/fl_attachm..., "success": true }

But when, I visit the above url, the pdf file is blank. I have tried with several markdown files both with file extension .md & .markdown and the same thing happens

1 comments

do you have an example of the markdown file? i've run it on dozens of markdown files without an issue... thanks.
I have tried it on several files but could not get it to work on any of them. Hv you tried it on the website that you have deployed or a local version on your computer. This is what my simple markdown file looked like

filename: hello world.md

file contents below

# Hello World

hello world in markdown

thats bizarre... it works fine for me... both locally and on the deployed site.

http://res.cloudinary.com/markdown2pdf/raw/upload/fl_attachm...

maybe its your browser... i'll do some more testing. thanks for the info!

I have tried with chrome browser in Windows 10 and Chrome OS but both did not work.