在 GitLab markdown 文件中嵌入 Google 文档
Embed Google docs in GitLab markdown file
我想在 GitLab 降价文件中嵌入 Google 文档 - 可能还有 Google 工作表。
GitLab's markdown guide 列出了执行此操作的以下步骤:
- 打开您的 Google 文档
- 单击文件 -> 发布到网络
- 选择嵌入
- 点击发布并复制
<iframe>
- 转到您的 markdown 文件并将 iframe 包装到具有响应式
video_container
class 的 <figure>
标记中,如本例所示:
<figure class="video_container">
<iframe src="https://docs.google.com/spreadsheets/d/1jAnvYpRmNu8BISIrkYGTLolOTmlCoKLbuHVWzCXJSY4/pubhtml?widget=true&headers=false"></iframe>
</figure>
不幸的是,这对我不起作用。我只看到空格而不是嵌入文档。
this guide or this one are refering to Kramdown which is a Markdown converter used by https://about.gitlab.com:
For about.GitLab.com we use kramdown, which is an advanced Markdown
engine with a lot of interesting features that most of the other
engines don't have, such as inline attribute lists (IALs), which
enable easy styling beyond the standard Markdown options.
本指南主要用于通过使用 kramdown 呈现 markdown 来构建静态网站(主要用于撰写博客 post):
This guide has been made to make it easier for everyone to use
kramdown features and save a lot of time writing content for
about.GitLab.com, including handbook pages, website pages, blog posts
and everything else within the project www-GitLab-com.
Gitlab.com,Gitlab CE 和 Gitlab EE 使用 Github Flavored Markdown,common mark 的扩展:
In most of GitLab text areas you'll find markdown support. Not all of
them run with kramdown, so the markup will not behave equally
"GitLabwide". For GitLab.com, GitLab CE and GitLab EE text areas, the
markdown engine is currently CommonMarker. Here you can find the
markdown style guide for them.
如果您对在 Gitlab 文件中呈现 Markdown 感兴趣(例如自述文件等...),Markdown 指南是 https://docs.gitlab.com/ee/user/markdown.html
在 GitLab Flavored Markdown 中嵌入 Google sheet 是不可能的,除非你只想包含它的图片或者如果你想 copy/paste the spreadsheet content to markdown format
我想在 GitLab 降价文件中嵌入 Google 文档 - 可能还有 Google 工作表。 GitLab's markdown guide 列出了执行此操作的以下步骤:
- 打开您的 Google 文档
- 单击文件 -> 发布到网络
- 选择嵌入
- 点击发布并复制
<iframe>
- 转到您的 markdown 文件并将 iframe 包装到具有响应式
video_container
class 的<figure>
标记中,如本例所示:
<figure class="video_container">
<iframe src="https://docs.google.com/spreadsheets/d/1jAnvYpRmNu8BISIrkYGTLolOTmlCoKLbuHVWzCXJSY4/pubhtml?widget=true&headers=false"></iframe>
</figure>
不幸的是,这对我不起作用。我只看到空格而不是嵌入文档。
this guide or this one are refering to Kramdown which is a Markdown converter used by https://about.gitlab.com:
For about.GitLab.com we use kramdown, which is an advanced Markdown engine with a lot of interesting features that most of the other engines don't have, such as inline attribute lists (IALs), which enable easy styling beyond the standard Markdown options.
本指南主要用于通过使用 kramdown 呈现 markdown 来构建静态网站(主要用于撰写博客 post):
This guide has been made to make it easier for everyone to use kramdown features and save a lot of time writing content for about.GitLab.com, including handbook pages, website pages, blog posts and everything else within the project www-GitLab-com.
Gitlab.com,Gitlab CE 和 Gitlab EE 使用 Github Flavored Markdown,common mark 的扩展:
In most of GitLab text areas you'll find markdown support. Not all of them run with kramdown, so the markup will not behave equally "GitLabwide". For GitLab.com, GitLab CE and GitLab EE text areas, the markdown engine is currently CommonMarker. Here you can find the markdown style guide for them.
如果您对在 Gitlab 文件中呈现 Markdown 感兴趣(例如自述文件等...),Markdown 指南是 https://docs.gitlab.com/ee/user/markdown.html
在 GitLab Flavored Markdown 中嵌入 Google sheet 是不可能的,除非你只想包含它的图片或者如果你想 copy/paste the spreadsheet content to markdown format