Föderation EN Mi 17.07.2024 22:34:30
You can finally import and export #Markdown in Google Docs: https://workspaceupdates.googleblog.com/2024/07/import-and-export-markdown-in-google-docs.html
- Convert Markdown to Docs content on paste
- Copy Docs content as Markdown
- Export a Doc as Markdown (from File > Download)
- Import Markdown as a Doc (from File > Open or "Open with Google Docs" from Drive) 👏
Föderation EN Mi 17.07.2024 23:17:38
@tomayac I'm wondering if this opens up a possibility to use Google Docs as a CMS for 11ty if we can automate the MD export with an add-on or similar? 🤔
Föderation EN Do 18.07.2024 00:36:40
@patrick @tomayac I would think that you could use one of the Google APIs to retrieve data for inclusion in an #11ty build. I used to do something similar, retrieving data from a Google Sheet to use as the data for this site: https://11tybundle.dev. I wrote a blog post about how I did that here: https://www.bobmonsour.com/posts/scratch-that-use-google-sheets-api/
Föderation EN Do 18.07.2024 15:44:51
@tomayac I wish I had seen this yesterday before I did the doc->html->markdown->html ritual using a chain of random online converters to get clean-ish html out of a google doc.