Skip to main content

iframe embedding

Project description

Embedding

example

youtube:

:emb:`youtube<identifier>`

:emb:`yt<identifier>`

vimeo:

:emb:`vimeo<identifier>`

:emb:`vm<identifier>`

nicovideo:

:emb:`nicovideo<identifier>`

:emb:`nv<identifier>`

conf.py

you can register new embedding. you have to change the indentifier to ‘{0}’.

example:

html_embedding = {
    'foo': r'<script type="TYPE_INFO" src="THE_URL/{0}/param?arg1=val1&arg2=val2"></script>'
}

CHANGES

  • 2021-10-01 0.6 use doctest

  • 2021-09-30 0.5 use string.format()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinxcontrib.embedding-0.6.0.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file sphinxcontrib.embedding-0.6.0.tar.gz.

File metadata

  • Download URL: sphinxcontrib.embedding-0.6.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for sphinxcontrib.embedding-0.6.0.tar.gz
Algorithm Hash digest
SHA256 f051d49a565f71787fd06dd0112d82d03d2322cf5cec5e1989ff753b4d75b617
MD5 dbc1c223103c874abac3b933685a1972
BLAKE2b-256 857ddd456500a4b7a50506d5956a6c975f225b4f443e403d3c21d2a38d41feb5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page