- New documentation based on mkdocs
- New block types:
map
: to embed OSM mapsfacebook
: to embed facebook posts (privacy invasive)instagram
: to embed instagram posts (privacy invasive)
linkcard
: Links are openened in a new tab/window
- 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
- FIX: match trailing spaces after the header. Fixes #6
- Metadata fix: The license is Affero not MIT
- FIX: youtube custom classes were not added (PR #05, Alexey Leshchenko @leshchenko1979, thanks!)
- FIX: linkcard: link-card-site-icon class was set twice
- workflows for continuous integration and release
- documentation fixes
utils.Fetcher
: Helper for catched downloadsutils.PageInfo
: Page information retrieval helperutils.E
: Helper to generate HTML using hyperscript idiomutils.Markdown
: Helper to include markdown in hyperscriptlinkcard
: Example style emulating Wordpress' embedded linklinkcard
: Explicit image, description, title...linkcard
: Fix: relative links to images and iconslinkcard
: Removed half implemented embedimage flagtwitter
: Cache twitter info downloads
- Register a generator with a string like
'module.submodule:function'
- Support single quoted values
- Provide
ctx.config
fromextension_configs.customblocks.config
- New generators: vimeo, verkami, goteo
- admonition: title should be a
<p>
not a<div>
for ReST styles to work - youtube: responsive/fluid sizing
- documented all generators
- Improve documentation (parameter passing, toc...)
- Provide
ctx.metadata
to access Markdown.Meta (fromextra.meta
,full_yaml_metadata
... extensions) figure
: link to the image
- First public version
- Support for function based generators
- Default generator: container
- Example generators: admonition, twitter, youtube, figure, linkcard