ITADN
mfontanini/presenterm

版本发布 8

v0.15.1
? · 2025-08-03

## Fixes * Disable OSC 11 when running in tmux ([#696](https://github.com/mfontanini/presenterm/issues/696)). * Follow custom theme symlinks ([#692](https://github.com/mfontanini/presenterm/issues/692)).

v0.14.0
? · 2025-05-17

## New features * Add support for [exporting presentations as HTML files](https://mfontanini.github.io/presenterm/features/exports.html#html) ([#566](https://github.com/mfontanini/presenterm/issues/566)) ([#595](https://github.com/mfontanini/presenterm/issues/595)) ([#575](https://github.com/mfontanini/presenterm/issues/575)) ([#599](https://github.com/mfontanini/presenterm/issues/599)) - thanks @JustSimplyKyle. * Snippet execution output now contains configurable padding and built-in themes default to the same padding as snippets (2 spaces horizontally, one line vertically) ([#592](https://github.com/mfontanini/presenterm/issues/592)) ([#593](https://github.com/mfontanini/presenterm/issues/593)). * Add highlighting and execution support for Jsonnet ([#585](https://github.com/mfontanini/presenterm/issues/585)) - thanks @imobachgs. * Allow [configuring snippets](https://mfontanini.github.io/presenterm/configuration/settings.html#sequential-snippet-execution) to be executed sequentially during exports ([#584](https://github.com/mfontanini/presenterm/issues/584)). ## Fixes * Skip slides with pauses correctly ([#598](https://github.com/mfontanini/presenterm/issues/598)). * Avoid printing text if there's no vertical space for it, which otherwise looks bad particularly when using font size > 1 ([#594](https://github.com/mfontanini/presenterm/issues/594)). * Execute snippets only once during export ([#583](https://github.com/mfontanini/presenterm/issues/583)). * Don't add an extra pause after lists if there's nothing left ([#580](https://github.com/mfontanini/presenterm/issues/580)). * Allow interleaved spans and variables in footer ([#577](https://github.com/mfontanini/presenterm/issues/577)). * Truly center `+exec_replace` snippet output ([#572](https://github.com/mfontanini/presenterm/issues/572)). ## Docs * Added link to public presentation using presenterm ([#589](https://github.com/mfontanini/presenterm/issues/589)) - thanks @pwnwriter. * Rename parameter name to the correct one in docs ([#570](https://github.com/mfontanini/presenterm/issues/570)) - thanks @DzuWe. * Fix typo in highlighting.md ([#586](https://github.com/mfontanini/presenterm/issues/586)) - thanks @0atman. ## Chore * Bump dependencies ([#596](https://github.com/mfontanini/presenterm/issues/596)). ## ❤️ Sponsors Thanks to the following users who supported _presenterm_ via a [github sponsorship](https://github.com/sponsors/mfontanini) in this release: * [@0atman](https://github.com/0atman) * [@orhun](https://github.com/orhun)

v0.13.0
? · 2025-04-25

## Breaking changes * The CLI parameter to generate the JSON schema for the config file (`--generate-config-file-schema`) is now hidden behind a `json-schema` feature flag. The JSON schema file for the latest version is already publicly available at `https://github.com/mfontanini/presenterm/blob/${VERSION}/config-file-schema.json`, so anyone can use it without having to generate it by hand. This allows cutting down the number of dependencies in this project quite a bit ([#563](https://github.com/mfontanini/presenterm/issues/563)). ## New features * Support for [slide transitions](https://mfontanini.github.io/presenterm/features/slide-transitons.html) is now available ([#530](https://github.com/mfontanini/presenterm/issues/530)): * Add fade slide transition ([#534](https://github.com/mfontanini/presenterm/issues/534)). * Add slide horizontally slide transition animation ([#528](https://github.com/mfontanini/presenterm/issues/528)). * Add `collapse_horizontal` slide transition ([#560](https://github.com/mfontanini/presenterm/issues/560)). * Add `--output` option to specify the path where the output file is written to during an export ([#526](https://github.com/mfontanini/presenterm/issues/526)). * Allow specifying [start/end lines](https://mfontanini.github.io/presenterm/features/code/highlighting.html#including-external-code-snippets) in file snippet type ([#565](https://github.com/mfontanini/presenterm/issues/565)) - thanks @marianozunino. * Allow letting [pauses become new slides](https://mfontanini.github.io/presenterm/configuration/settings.html#pause-behavior) when exporting ([#557](https://github.com/mfontanini/presenterm/issues/557)). * Allow [using images on right in footer](https://mfontanini.github.io/presenterm/features/themes/definition.html#footer-images) ([#554](https://github.com/mfontanini/presenterm/issues/554)). * Add [`max_rows` configuration](https://mfontanini.github.io/presenterm/configuration/settings.html#maximum-presentation-height) to cap vertical size ([#531](https://github.com/mfontanini/presenterm/issues/531)). * Add julia language highlighting and execution support ([#561](https://github.com/mfontanini/presenterm/issues/561)). ## Fixes * Center overflow lines when using centered text ([#546](https://github.com/mfontanini/presenterm/issues/546)). * Don't add extra space before heading if prefix in theme is empty ([#542](https://github.com/mfontanini/presenterm/issues/542)). * Use no typst background in terminal-* built in themes ([#535](https://github.com/mfontanini/presenterm/issues/535)). * Use `std::env::temp_dir` in the `external_snippet` test ([#533](https://github.com/mfontanini/presenterm/issues/533)) - thanks @Medovi. * Respect `extends` in a theme set via `path` in front matter ([#532](https://github.com/mfontanini/presenterm/issues/532)). ## Misc * Refactor async renders (e.g. mermaid/typst/latex `+render` blocks, `+exec` blocks, etc) to work truly asynchronously. This causes the output to be polled faster, and causes jumping to a slide that contains an async render to take a likely negligible (but maybe noticeable) amount of time to be jumped to. This was needed for slide transitions to work seemlessly ([#556](https://github.com/mfontanini/presenterm/issues/556)). * Get rid of `textproperties` ([#529](https://github.com/mfontanini/presenterm/issues/529)). * Add links to presentations using presenterm ([#544](https://github.com/mfontanini/presenterm/issues/544)) - thanks @orhun. ## Performance improvements * A few performance improvements had to be done for slide transitions to work seemlessly: * Pre-scale ASCII images when transitions are enabled ([#550](https://github.com/mfontanini/presenterm/issues/550)). * Pre-scale generated images ([#553](https://github.com/mfontanini/presenterm/issues/553)). * Cache resized ASCII images ([#547](https://github.com/mfontanini/presenterm/issues/547)). ## ❤️ Sponsors Thanks to the following users who supported _presenterm_ via a [github sponsorship](https://github.com/sponsors/mfontanini) in this release: * [@0atman](https://github.com/0atman) * [@orhun](https://github.com/orhun) * [@fipoac](https://github.com/fipoac)

v0.12.0
? · 2025-03-25

## Breaking changes * Using incremental lists now adds an extra pause before and after a list. Use the `defaults.incremental_lists` [configuration parameter](https://mfontanini.github.io/presenterm/features/commands.html#incremental-lists-behavior) to go back to the previous behavior ([#487](https://github.com/mfontanini/presenterm/issues/487)) ([#498](https://github.com/mfontanini/presenterm/issues/498)). ## New features * [PDF exports](https://mfontanini.github.io/presenterm/features/pdf-export.html) are now generated by invoking [weasyprint](https://pypi.org/project/weasyprint/) rather than by using the now deprecated _presenterm-export_. This gets rid of the need for _tmux_ and opens up the door for other export formats ([#509](https://github.com/mfontanini/presenterm/issues/509)) ([#517](https://github.com/mfontanini/presenterm/issues/517)). * PDF export dimensions can now also be [specified in the config file](https://mfontanini.github.io/presenterm/configuration/settings.html#pdf-export-size) rather than always having them inferred by the terminal size ([#511](https://github.com/mfontanini/presenterm/issues/511)). * Allow specifying path for temporary files generated during presentation export ([#518](https://github.com/mfontanini/presenterm/issues/518)). * Respect font sizes in generated PDF ([#510](https://github.com/mfontanini/presenterm/issues/510)). * Add [`skip_slide` comment command](https://mfontanini.github.io/presenterm/features/commands.html#skip-slide) to avoid including a slide in the final presentation ([#505](https://github.com/mfontanini/presenterm/issues/505)). * Add [`alignment` comment](https://mfontanini.github.io/presenterm/features/commands.html#text-alignment) command to specify text alignment for the remainder of a slide ([#493](https://github.com/mfontanini/presenterm/issues/493)) ([#522](https://github.com/mfontanini/presenterm/issues/522)). * Add `--current-theme` CLI parameter to display the theme being used ([#489](https://github.com/mfontanini/presenterm/issues/489)). * Add gruvbox dark theme ([#483](https://github.com/mfontanini/presenterm/issues/483)) - thanks @ret2src. ## Fixes * Fix broken ANSI escape code parsing which would cause command output to sometimes be incorrectly parsed and therefore led to its colors/attributes not being respected ([#500](https://github.com/mfontanini/presenterm/issues/500)). * Center lists correctly ([#512](https://github.com/mfontanini/presenterm/issues/512)) ([#520](https://github.com/mfontanini/presenterm/issues/520)). * Respect end slide shorthand in speaker notes mode ([#494](https://github.com/mfontanini/presenterm/issues/494)). * Use more visible colors in snippet execution output in terminal-light/dark themes ([#485](https://github.com/mfontanini/presenterm/issues/485)). * Show error if sixel mode is selected but disabled ([#525](https://github.com/mfontanini/presenterm/issues/525)). ## CI * Add nightly build job ([#496](https://github.com/mfontanini/presenterm/issues/496)). ## Docs * Fix typo in README.md ([#490](https://github.com/mfontanini/presenterm/issues/490)) - thanks @eltociear. * Correctly include layout pic ([#495](https://github.com/mfontanini/presenterm/issues/495)) - thanks @Tuxified. ## Misc * Cleanup text attributes ([#519](https://github.com/mfontanini/presenterm/issues/519)). * Refactor snippet processing ([#484](https://github.com/mfontanini/presenterm/issues/484)). ## Sponsors It is now possible to sponsor this project via [github sponsors](https://github.com/sponsors/mfontanini). Thanks to @0atman for being the first project sponsor!

Nightlymaster预发布
? · 2025-03-20

This is a nightly build based on ref [2784dee6246ed086ed2af96c2aec135ebc046d53](https://github.com/mfontanini/presenterm/commit/2784dee6246ed086ed2af96c2aec135ebc046d53) Generated on `Thu Mar 20 00:06:41 UTC 2025`

Nightlymaster预发布
? · 2025-03-16

This is a nightly build based on ref [995cf9683eef9297ba3dfb76eb4a2b27f2dd5c3b](https://github.com/mfontanini/presenterm/commit/995cf9683eef9297ba3dfb76eb4a2b27f2dd5c3b) Generated on `Sun Mar 16 00:07:20 UTC 2025`

v0.11.0
? · 2025-03-08

## Breaking changes * Footer templates are now sanitized, and any variables surrounded in braces that aren't supported (e.g. `{potato}`) will now cause _presenterm_ to display an error. If you'd like to use braces in contexts where you're not trying to reference a variable you can use double braces, e.g. `live at {{PotatoConf}}` ([#442](https://github.com/mfontanini/presenterm/issues/442)) ([#467](https://github.com/mfontanini/presenterm/issues/467)) ([#469](https://github.com/mfontanini/presenterm/issues/469)) ([#471](https://github.com/mfontanini/presenterm/issues/471)). ## New features * [Add support for kitty's font size protocol](https://mfontanini.github.io/presenterm/features/introduction.html#font-sizes). This is now used by default in built in themes in a few components such as the intro slide's title and slide titles. See the [example presentation gif](https://github.com/mfontanini/presenterm/blob/master/docs/src/assets/demo.gif) to check out how this looks like. Terminal suport for this feature is detected on startup and will be ignored if unsupported. This requires _kitty_ >= 0.40.0 ([#438](https://github.com/mfontanini/presenterm/issues/438)) ([#460](https://github.com/mfontanini/presenterm/issues/460)) ([#470](https://github.com/mfontanini/presenterm/issues/470)). * [Allow specifying font size in a comment command](https://mfontanini.github.io/presenterm/features/commands.html#font-sizes), which causes any subsequent text in a slide to use the specified font size. Just like the above, only supported in _kitty_ >= 0.40.0 for now ([#458](https://github.com/mfontanini/presenterm/issues/458)). * [Footers can now contain images](https://mfontanini.github.io/presenterm/features/themes/definition.html#footer-images) in the left and center components. This allows including some form of branding/company logo to your presentations ([#450](https://github.com/mfontanini/presenterm/issues/450)) ([#476](https://github.com/mfontanini/presenterm/issues/476)). * [Footers can now contain inline markdown](https://mfontanini.github.io/presenterm/features/themes/definition.html#template-footers), which allows using bold, italics, `<span>` tags for colors, etc ([#466](https://github.com/mfontanini/presenterm/issues/466)). * [Presentation titles can now contain inline markdown](https://mfontanini.github.io/presenterm/features/introduction.html#introduction-slide) ([#464](https://github.com/mfontanini/presenterm/issues/464)). * [Introduce palette.classes in themes](https://mfontanini.github.io/presenterm/features/themes/definition.html#color-palette) to allow specifying combinations of foreground/background colors that can be referenced via the `class` attribute in `<span>` tags ([#468](https://github.com/mfontanini/presenterm/issues/468)). * It's now possible to [configure the alignment](https://mfontanini.github.io/presenterm/configuration/settings.html#maximum-presentation-width) to use when `max_columns` is configured and the terminal width is larger than it ([#475](https://github.com/mfontanini/presenterm/issues/475)). * Add support for wikilinks ([#448](https://github.com/mfontanini/presenterm/issues/448)). ## Fixes * Don't get stuck if tmux doesn't passthrough ([#456](https://github.com/mfontanini/presenterm/issues/456)). * Don't squash image if terminal's font aspect ratio is not 2:1 ([#446](https://github.com/mfontanini/presenterm/issues/446)). * Fail if `--config-file` points to non existent file ([#474](https://github.com/mfontanini/presenterm/issues/474)). * Use right script name for kotlin files when executing ([#462](https://github.com/mfontanini/presenterm/issues/462)). * Respect lists that start at non 1 indexes ([#459](https://github.com/mfontanini/presenterm/issues/459)). * Jump to right slide on code attribute change ([#478](https://github.com/mfontanini/presenterm/issues/478)). ## Improvements * Remove `result` return type from builder fns that don't need it ([#465](https://github.com/mfontanini/presenterm/issues/465)). * Refactor theme code ([#463](https://github.com/mfontanini/presenterm/issues/463)). * Restructure `terminal` code and add test for margins/layouts ([#443](https://github.com/mfontanini/presenterm/issues/443)). * Use `fastrand` instead of `rand` ([#441](https://github.com/mfontanini/presenterm/issues/441)). * Avoid cloning strings when styling them ([#440](https://github.com/mfontanini/presenterm/issues/440)).

v0.10.1
? · 2025-02-15

## Fixes * Don't error out if `options` in front matter doesn't include `auto_render_languages` ([#454](https://github.com/mfontanini/presenterm/pull/454)). * Bump sixel-rs to 0.4.1 to fix build in aarch64 and riscv64 ([#452](https://github.com/mfontanini/presenterm/pull/452)) - thanks @Xeonacid.