Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

gdocs shortcode: Add support for all doc types (Slides, Docs, Sheets, etc.) #544

Closed
rahmati opened this issue May 19, 2018 · 2 comments
Closed
Milestone

Comments

@rahmati
Copy link

rahmati commented May 19, 2018

Can anybody confirm if using {{< gdocs "https://..." >}} works for them? For me it doesn't get recognized as a command.
screen shot 2018-05-18 at 7 09 02 pm

@ccamara
Copy link
Contributor

ccamara commented May 20, 2018

I have tested the following code and works perfectly: {{< gdocs "https://docs.google.com/presentation/d/1DrJLiy1Anz5QVmtEzVSutUwgi11ed6GU3Sj0xwLKS1Q/present?token=AC4w5Vi4YPTT9iagAnw9BGmGWbIeXDUpcg%3A1526741667308&includes_info_params=1#slide=id.g3a8ce69d2b_1_78" >}}

Please, be aware that this is the link to the public presentation, not the link used to edit the document.

@gcushen
Copy link
Collaborator

gcushen commented May 20, 2018

Currently, only Google Slides are supported. Other types of document are untested. I am currently working on an update to add support for Google Docs and Google Sheets.

In the meantime, you can simply choose File > Publish to Web in Google Docs and copy and paste the HTML code which Google provides into your markdown content file.

@rahmati, it would also appear that you are attempting to embed Google Forms and not Google Sheets like was stated in the original title of this issue?

@gcushen gcushen changed the title Embedding Google sheets doesn't work gdocs shortcode: Add support for Google Docs and Google Sheets May 20, 2018
@gcushen gcushen added this to the v2.3 milestone May 20, 2018
@gcushen gcushen changed the title gdocs shortcode: Add support for Google Docs and Google Sheets gdocs shortcode: Add support for all doc types (Slides, Docs, Sheets, etc.) Jul 15, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants