Skip to content

📋  Embed code

Submitted by randyzwitch

Summary

Embed code from various platforms (Gists, snippets...)

Docstring

Visit the PyPI page for more information.

Examples

example_github

def example_github():
    github_gist(
        "https://gist.github.com/randyzwitch/be8c5e9fb5b8e7b046afebcac12e5087/",
        width=700,
        height=400,
    )
Output (beta)

example_gitlab

def example_gitlab():
    gitlab_snippet(
        "https://gitlab.com/snippets/1995463",
        width=700,
        height=200,
    )
Output (beta)