Skip to content

Commit

Permalink
bump to 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vokimon committed Nov 20, 2022
1 parent fb6961c commit 12f96dc
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 13 deletions.
27 changes: 17 additions & 10 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
# Release history

## Unreleased
## markdown-customblocks 1.4.0 (2022-11-20)

- Third party generators can be registered using project
metadata entry points as `markdown.customblocks.generators`
- 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
- `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
- 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

## markdown-customblocks 1.3.1 (2022-11-06)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ whose output can be **redefined** by means of a simple Python function.

Many off-the-shelf components are provided such as
div-containers, admonitions, figures, link cards, maps...
and some embeded widgets from common sites (youtube, vimeo, twitter, facebook, instagram, goteo, verkami...)
and some embeded widgets from common sites (wikipedia, youtube, vimeo, peertube, mastodon, twitter, facebook, instagram, goteo, verkami...)

It also includes convenience tools to ease component definition:
hyperscript html generation, cached page fetching and metadata page extraction.
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

setup(
name='markdown-customblocks',
version='1.3.1',
keywords='markdown extension customblocks admonitions container figure map youtube vimeo twitter facebook instagram verkami goteo',
version='1.4.0',
keywords='markdown extension customblocks admonitions container figure map youtube vimeo twitter facebook instagram verkami goteo mastodon wikipedia peertube',
description='Python Markdown extension to add custom parametrizable and nestable blocks',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 12f96dc

Please sign in to comment.