Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How does it handle images in the imports and exports?


Import supports links via upload

Export outputs base64 encoded image URLs. We use Markdown reference links to place the large URLs out of the way of reading at the bottom of the file


When I export Markdown, the image reference is placed like `[image-1][base64-reference]`. However, the reference links should be `[image-1](base64-reference)`. The brackets for the reference should be parentheses, not square.

Any hint on why you have used square brackets?


Link _references_ must be enclosed in brackets. Only _inline_ link URLs use parentheses

See https://daringfireball.net/projects/markdown/syntax#link


Thank you for your reply and sorry for my ignorance. I didn't look much about reference links before writing this.


No worries! Glad I could send some new knowledge your way :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: