Time.Graphics plugin for Pelican: A Plugin for Pelican
Easily embed Time.Graphics timelines in your Pelican articles
Installation
This plugin can be installed via:
pip install pelican-timegraphics-plugin
Next add it to the PLUGINS section of pelicanconf.py.
PLUGINS = [
'...',
'pelican.plugins.timegraphics'
'...',
]
Usage
In your articles, just add lines to your posts that look like:
[timegraphics:id=123456,width=100%,height=400,allowfullscreen=1,frameborder=0]
The resulting html will look like
<iframe src="https://time.graphics/embed?v=1&id=123456" width="100%" height="400" frameborder="0" allowfullscreen></iframe>
<a style="font-size: 12px; text-decoration: none;" title="Powered by Time.Graphics" href="https://time.graphics">Powered by Time.Graphics</a></div>
Settings
TIMEGRAPHICS_DEFAULT_WIDTH
The default with of a timeline. Default is '100%'
- Can be overruled on each timeline with the
widthparameter
TIMEGRAPHICS_DEFAULT_HEIGHT
- The default height of a timeline. Default is
'400' - Can be overruled on each timeline with the
heightparameter
TIMEGRAPHICS_ALLOW_FULLSCREEN
- Sets the default on whether users of your site can view timelines in fullscreen.
- Allowed values are
'0'and'1' - Default is
'1' - Can be overruled on each timeline with the
allowfullscreenparameter
TIMEGRAPHICS_SHOW_FRAMEBORDER
- Whether to show a border around each timeline
- Allowed values are
'0'and'1' - Default is
'0' - Can be overruled on each timeline with the
frameborderparameter
TIMEGRAPHICS_SHOW_POWERED_BY
- Whether to show "Powered by Time.Graphics" under the timeline
- Allowed values are
TrueandFalse - Default is
True
Contributing
Contributions are welcome and much appreciated. Every little bit helps. You can contribute by improving the documentation, adding missing features, and fixing bugs. You can also help out by reviewing and commenting on existing issues.
To start contributing to this plugin, review the Contributing to Pelican documentation, beginning with the Contributing Code section.
Metadata
Release files for pelican-timegraphics-plugin 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pelican-timegraphics-plugin-1.0.1.tar.gz | 5.3 kB | Without provenance | Details for pelican-timegraphics-plugin-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pelican_timegraphics_plugin-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for pelican_timegraphics_plugin-1.0.1-py3-none-any.whl |
Total release size: 10.9 kB
Release files / pelican-timegraphics-plugin-1.0.1.tar.gz
| Download URL | pelican-timegraphics-plugin-1.0.1.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07371bdb7bb7541e212bade4a11b315790f99975247c2deef55e227997db762e
|
|
BLAKE2b-256 checksum How to use checksums |
44373696a6de8a4a982323de7c4dfc4141e4919046a6f4df899f1f87e97aa81c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.0 CPython/3.7.5 Darwin/19.2.0
|
Release files / pelican_timegraphics_plugin-1.0.1-py3-none-any.whl
| Download URL | pelican_timegraphics_plugin-1.0.1-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
444d3f5697f1de916c04f5f97d654e3cbb2e24568435b6a8529cefd8b371a47d
|
|
BLAKE2b-256 checksum How to use checksums |
440482013ce230622861fd87d6efa863b2a3d8f2acead4b85c2d10f8818e7fc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.0 CPython/3.7.5 Darwin/19.2.0
|
Security for pelican-timegraphics-plugin 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.