News for hackers. Stuff that matters.
Re:Import and Export Markdown in Google Docs by jez on Wednesday July 17, 2024 @03:30PM (#40989441)
How does it handle images in the imports and exports?
Re:Import and Export Markdown in Google Docs by tomeraberbach on Thursday July 18, 2024 @10:20AM (#40995814)
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

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 :)