Live data from Hacker News

Import and Export Markdown in Google Docs

workspaceupdates.googleblog.com

131–140 of 140 posts

Re: Import and Export Markdown in Google Docs

#132
post #57

Earlier quoted context omitted.

Is it also supported in the Google Drive export API? It's not in the docs yet at least. https://developers.google.com/drive/api/guides/ref-export-fo...

Yes, it will be supported by this API! I actually wasn't aware of this documentation page. I'll make sure it gets updated. Thanks for flagging

Should be updated now

Re: Import and Export Markdown in Google Docs

#133

Hey folks, I'm the engineer who implemented the new feature. Just clearing up some confusion. A lot of you are noticing the preexisting automatic detection feature from 2022 [1], which I also worked on. That's NOT what this newly announced feature is. The new feature supports full import/export, but it's still rolling out so you're likely not seeing it yet! Hope you like it once it reaches you :) [1] https://workspac…

Duuuuuuuuude, I was just thinking a few days ago: how come markdown isn't yet a thing in word editors? Well, you solved it. Thanks!

Just for reference, Writage is a Word (Mac and Windows) add-in that exports and imports Markdown.

Re: Import and Export Markdown in Google Docs

#134

Earlier quoted context omitted.

I can't speak to the reasoning for announcing before 100% rollout, but I can say that the slow rollout is for safety. That way if there's a severe bug, then we can catch it while it affects a small number of users, instead of all users. Labs is more for experimental features that needs more beta testing before rolling out to everyone, rather than being the "first stage" of slow rollout.

That doesn't contradict the parent comment though. Engaged users should have an option somewhere to enable it, barely affecting the overall rollout.

It’s not about gating the new feature behind a flight, but not wanting to push a new build out to the furthest deployment ring before you need to.

Re: Import and Export Markdown in Google Docs

#136

Hey folks, I'm the engineer who implemented the new feature. Just clearing up some confusion. A lot of you are noticing the preexisting automatic detection feature from 2022 [1], which I also worked on. That's NOT what this newly announced feature is. The new feature supports full import/export, but it's still rolling out so you're likely not seeing it yet! Hope you like it once it reaches you :) [1] https://workspac…

Any idea how long is this rollout going to be? I still don't have access to it. (not that you're in charge of the rollout pace)

Re: Import and Export Markdown in Google Docs

#137
post #100

Earlier quoted context omitted.

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?

Re: Import and Export Markdown in Google Docs

#138

Earlier quoted context omitted.

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

Re: Import and Export Markdown in Google Docs

#139

Earlier quoted context omitted.

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.

Re: Import and Export Markdown in Google Docs

#140

Earlier quoted context omitted.

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 :)
Post reply on HN