Releases: danburzo/percollate
Releases · danburzo/percollate
v4.2.3
Fixes
- Handle images whose URLs don’t end in a file extension that allows us to identify the image’s MIME media type. In these cases, use the generic
image
MIME type (e.g. in inlinedata:
URLs when the--inline
flag is used) and the.image
file extension (e.g. when bundling external resources for EPUBs). Support for these may vary with the browser / EPUB reader. (#174)
v4.2.2
v4.2.1
Fixes
- Fetching article images (when using the
--inline
flag, or when producing EPUBs) now sends theReferer
header as the browser would when rendering the article (using thestrict-origin-when-cross-origin
referrer policy) (#172). Note that when producing HTML or PDF documents of web pages containing images that require aReferer
header, you’ll need to use the--inline
flag. - Use a fallback when slugifying an article title results in the empty string.
v4.2.0
v4.1.1
New features
Adds the --toc-level=<level>
option. By default, the table of contents is a flat list of article titles. With the --toc-level
option the table of contents will include headings under each article title (<h2>
, <h3>
, etc.), up to the specified heading depth. A number between 1 and 6 is expected. Using --toc-level
with a value greater than 1 implies --toc
.
v4.0.5
v4.0.4
Bug fixes
- Updated to
[email protected]
and fixed the loading of language patterns for hyphenation when percollate is used as a npm package (See #163, hyphenopoly#207). With thanks to @mnater, @yashha.
v4.0.3
v4.0.2
v4.0.1
Bug fixes
Thank you @vongrad for contributing two fixes to this release: