News for hackers. Stuff that matters.
Re:Import and Export Markdown in Google Docs by vikramaruchamy on Friday July 26, 2024 @09:02AM (#41078270)
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?

Re:Import and Export Markdown in Google Docs by tomeraberbach on Friday July 26, 2024 @07:21PM (#41083191)
Link _references_ must be enclosed in brackets. Only _inline_ link URLs use parentheses

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

Re:Import and Export Markdown in Google Docs by vikramaruchamy on Monday July 29, 2024 @03:11AM (#41098469)
Thank you for your reply and sorry for my ignorance. I didn't look much about reference links before writing this.
Re:Import and Export Markdown in Google Docs by tomeraberbach on Monday July 29, 2024 @09:22AM (#41100260)
No worries! Glad I could send some new knowledge your way :)