Markdown-customblocks

Latest version: v1.4.1

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.4.1

- Documentation corrections

1.4.0

- Third party generators can be registered by using project
metadata's entry points for `markdown.customblocks.generators`
- New block types
- `wikipedia`: produces a linkcard for a lemma
- `mastodon`: embed a mastodon post
- `peertube`: embed a peertube video
- `linkcard`:
- Keyless values are added as classes to the top level element
- Extract descriptions from MediaWiki based sites (wikipedia...)
- Html class `squared` renamed `side`, used to identify side images
- Configurable CSS variables in the recommended stylesheet
- Improved image layout in the recommended styleshet
- Side image turns wide image on small devices
- `vimeo`:
- Wrapping inside `div.video.vimeo` analog to other video inserts
- Accepts exceding key and positional parameters like `container`
- `youtube`:
- Fix: iframe border removed by default

1.3.1

- Tests passing
- Documentation fixes

1.3.0

- [New documentation]( https:://vokimon.github.io/markdown-customblocks) based on mkdocs
- New block types:
- `map`: to embed OSM maps
- `facebook`: to embed facebook posts (draft: still privacy invasive)
- `instagram`: to embed instagram posts (draft: still privacy invasive)
- `linkcard`: Links are openened in a new tab/window

1.2.0

- Figures open the image in a new window
- Figures lightbox visualization (requires some css)
- GDPR friendly embeds:
- youtube: Use youtube-nocookie.com to avoid youtube cookies
- vimeo: Use dnt=1 option to avoid vimeo cookies

1.1.4

- FIX: match trailing spaces after the header. Fixes 6

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.