6 ms·
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 fea
by tomeraberbach 2y ago
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://workspaceupdates.googleblog.com/2022/03/compose-with-markdown-in-google-docs-on.html?m=1 https://workspaceupdates.googleblog.com/2022/03/compose-with...
- chrisbrandow 2y agoAny 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)
- tomeraberbach 2y agoShould be rolled out to everyone by sometime next week See this heading: https://workspaceupdates.googleblog.com/2024/07/import-and-export-markdown-in-google-docs.html#:~:text=Slides%2C%20%26%20Drawings.-,Rollout%20pace,-Rapid%20Release%20and https://workspaceupdates.googleblog.com/2024/07/import-and-e...
- remoquete 2y agoSuch a huge quality of life improvement for technical writers who rely on Gsuite collaboration features while editing Markdown docs. Thank you!
- zameerb1 2y ago[dead]
- jcastro 2y agoThis is going to save me so much time, thank you for this!
- sbergot 2y agoThank you for making that! I was using a plugin to export to markdown but it wasn't ideal.
- tomgp 2y agoThank you! This is going to make my life MUCH easier
- irskep 2y agoIs 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-formats https://developers.google.com/drive/api/guides/ref-export-fo...
- tomeraberbach 2y agoYes, 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
- scrollaway 2y agoOh that’s great. Does that mean Google drive will have good markdown previews now?
- tomeraberbach 2y agoNo, this feature doesn't affect the preview. We don't convert a Markdown file to a Doc unless a user initiates it
- tomeraberbach 2y agoShould be updated now
- sandbx 2y agoI would like to be able to open and edit .md files in Google Docs on desktop and mobile like how Google Docs supports opening .docx files
- supriyo-biswas 2y agoIs it possible to get this feature in Slides as well? I often need to prepare technical slides with code in it, and being able to just backtick away into a <code> tag or a <pre> block would be a godsend.
- breck 2y agoNot sure if you have the patience to use a beta product, but I recently started adding slideshows to Scroll. This source code: http://hub.scroll.pub/slideshowdemo/index.scroll http://hub.scroll.pub/slideshowdemo/index.scroll Produces this HTML: http://hub.scroll.pub/slideshowdemo/ http://hub.scroll.pub/slideshowdemo/
- sphars 2y agoNot an answer to your question because this isn't integrated with Slides, but Slidev[0] can be used for creating slidedecks in Markdown [0]: https://github.com/slidevjs/slidev https://github.com/slidevjs/slidev
- RandomWorker 2y agoThanks for doing this! It’s amazing feature to use docs to compose and paste to my Hugo blog. Very good workflow
- _boffin_ 2y agoQuestion: when coming up with tests (whatever level they might be) before you submit your code, what’s your thought process about what tests to include? What edge cases to handle? What to not test? Is there much disagreement about what to test?
- tomeraberbach 2y agoWe did indeed write A LOT of tests! I would say there wasn't much disagreement there. I typically started out by writing tests for the simple cases, then I would identify edge cases through actual usage of the feature locally, and write tests for those as well. Also, whenever bugs were found, I would write "regression test cases" for those when fixing.
- whycome 2y agoGoogle keep…
- chrisfinazzo 2y agoI would have expected this to export CommonMark, but it seems like it's not quite up to that yet. Is that on the board for a future release? This isn't to say I prefer CM -- because Markdown came into being from Gruber's script. In a literal sense, "Markdown" is defined as whatever `markdown.pl` is, warts and all -- however, contact with the outside world forced things to move in a direction that is (so to speak) more organized that what John originally wrote.
- tomeraberbach 2y agoThe export part of the feature does support everything that CommonMark does! Curious what gave you the impression that it doesn't?
- chrisfinazzo 2y agoAdmittedly, I didn't spend more than 5-10 minutes looking through the specs ¯\_(ツ)_/¯ The existence of comments about how certain elements were rendered on export made me think that something was missing when compared with CM.
- hellojebus 2y agoWill the API support uploading conversion of markdown to "application/vnd.openxmlformats-officedocument.wordprocessingml.document"? I process thousands of documents each month -- often have to parse from HTML to Markdown to Docx then finally upload and convert to Google Doc format.
- tomeraberbach 2y agoIt will support importing Markdown as a Google Doc. I won't support directly importing Markdown as DOCX. For that you could convert from Markdown to Docs to DOCX though.
- scrollaway 2y agoCheck out Pandoc.
- ted_dunning 2y agoI can't wait. This will make a huge difference to a lot of my work.
- andybak 2y agoThe main effect of slow rollouts on me is that I never use the feature. It goes like this. 1. There's a service I use sporadically or used to use 2. They announce a new feature that might potentially mean I'll start using it again/more 3. I read the post, log in and realise I don't have access yet 4. I completely forget this ever happened. Surely all the effort that goes into announcing these things is a bit wasted ? What happened to the a nice "Labs" switch to opt into stuff that's new and a bit raw?
- pradn 2y agoIt is a bit odd how they do it in Docs. In Cloud, announcements happen when the feature has already fully rolled out. Note, this is separate from region expansion, which might be delayed for some heavy-weight features (like new categories of VMs requiring special hardware.)
- tomeraberbach 2y agoI 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.
- m-p-3 2y ago
- startupsfail 2y agoWould appreciate support for comments, with CriticMarkup or something.
- zikani_03 2y agoIs this also available from the googlecloud APIs libraries? Would be neat to be able to create a Google Doc from markdown content, it's something we were going to look into for one of the things we are building.
- tomeraberbach 2y agoThis will be supported by the Drive APIs
- jez 2y agoHow does it handle images in the imports and exports?
- tomeraberbach 2y agoImport 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
- vikramaruchamy 2y agoWhen 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?
- tomeraberbach 2y agoLink _references_ must be enclosed in brackets. Only _inline_ link URLs use parentheses See https://daringfireball.net/projects/markdown/syntax#link https://daringfireball.net/projects/markdown/syntax#link
- vikramaruchamy 2y agoThank you for your reply and sorry for my ignorance. I didn't look much about reference links before writing this.
- tomeraberbach 2y agoNo worries! Glad I could send some new knowledge your way :)
- ahimthedream 2y agoCan I sync MD files to drive through the osx drive integration? Allowing me to work on a local file in MD, but others can view through web
- munificent 2y agoYou are my hero. I work at Google in open source so I am constantly converting Google Docs to Markdown to put them on GitHub and vice versa. This will save me a lot of effort.
- peterarmstrong 2y agoThank you from Leanpub!
- shadowgovt 2y agoSuper cool. Well done! I've been wanting this for awhile; glad to see it.
- hereme888 2y agoDuuuuuuuuude, I was just thinking a few days ago: how come markdown isn't yet a thing in word editors? Well, you solved it. Thanks!
- themadturk 2y agoJust for reference, Writage is a Word (Mac and Windows) add-in that exports and imports Markdown.
- lewisjoe 2y agoHi, thanks for this amazing work. Just curious: Google docs supports a lot more than what Markdown has syntaxes for - how do you deal with this when exporting to markdown?
- tomeraberbach 2y agoWe export to the closest available thing (e.g. file chips become links, people chips become mailto links, etc.) or drop the content entirely if there's truly nothing it can be converted to (rare case)
- westurner 2y agoThanks! Google Colab also supports Markdown input cells as "Text" with a preview. Does this work with Google Sites? How to create a Google Sites page from a Markdown doc, with MyST Markdown YAML front matter NotebookLM can generate Python, LaTeX, and Markdown. How to Markdown and Git diff on a Chromebook without containers or Inspect Element because [...] How to auto-grade Jupyter Notebooks with Markdown prose, with OtterGrader How to build a jupyter-book from .rst, MyST Markdown .md, and .ipynb jupyter/nbformat notebooks containing MyST Markdown
- davecahill 2y agoThe announcement of the new feature (which I don't have just yet) made me realize that the automatic detection feature existed, and I love it. :)
- freedomben 2y agoI just wanted to say, it took me a while to discover it (it happened by accident), but the preexisting feature from 2022 was a joy to discover! I didn't know you obviously, but I praised the kind anonymous soul out there who did that. I discovered it about 6 months ago, and I use it all the time now. I'm super excited to see it progress!