17 Commits

Author SHA256 Message Date
4bd216c551 Accepting request 1297399 from utilities
- Update to 0.15.1:
  * Disable OSC 11 when running in tmux (#696).
  * Follow custom theme symlinks (#692).

OBS-URL: https://build.opensuse.org/request/show/1297399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/presenterm?expand=0&rev=18
2025-08-04 13:25:29 +00:00
d842512586 - Update to version 1.2.3:
* version: increment version
  * feat: Return 1 if no dirs are found
  * tests: add test for d0
  * Fix multi-paths output when `depth` is `0`
  * release: increment version

OBS-URL: https://build.opensuse.org/package/show/utilities/presenterm?expand=0&rev=39
2025-08-04 07:01:53 +00:00
b22b37727a Accepting request 1292635 from utilities
- Update to 0.15.0:
  * Breaking changes
    The behavior for "jump next fast" and "jump previous fast" keybindings
    (defaults to n and p) now jumps straight from one slide to the
    next/previous one ignoring pauses. Before this used to "reveal" all pauses
    when jumping forward before going to the next slide. This behavior was
    weird and unintuitive so now fast jumps go straight into the next/previous
    slides. The action of "showing all pauses on the current slide" can now be
    done by pressing s (#678).
  New features:
  * Allow specifying where a snippet's execution output will go (#658).
  * Add include comment command to import markdown files (#651) (#683).
  * Allow validating snippets without explicitly executing them by using --validate-snippets switch (#645) (#637).
  * Support iterm2 image protocol when running in tmux (#661).
  * Add support for d2 diagrams (#657).
  * Errors encountered when parsing markdown now always display the file, line,
    and column where the error was found, as well as the markdown line that
    caused the error (#674) (#653) (#684) (#685).
  * Superscript via ^this^ and <sup>this</sup> syntaxes is supported when using
    the kitty terminal. For other terminals we try to use unicode half block
    characters which cover a portion of the ASCII charset. (#606)(#617 )
    (#665).
  * Allow alternative snippet executors for languages that support execution.
    This allows, for example, runnig rust code via rust-script or python code
    via pytest (#614).
  * Allow using env var PRESENTERM_CONFIG_FILE to point to the config file (#663)
  * Set background color via OSC 11 to avoid having a colored edge around the
    presentation (#623) (#624) (#627).
  * Add support for markdown footnotes (#616).
  * Runtime errors are now centered rather than being left aligned with some fixed margin (#638).

OBS-URL: https://build.opensuse.org/request/show/1292635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/presenterm?expand=0&rev=17
2025-07-15 14:43:29 +00:00
cf4bb5c2a3 - Update to 0.15.0:
* Breaking changes
    The behavior for "jump next fast" and "jump previous fast" keybindings
    (defaults to n and p) now jumps straight from one slide to the
    next/previous one ignoring pauses. Before this used to "reveal" all pauses
    when jumping forward before going to the next slide. This behavior was
    weird and unintuitive so now fast jumps go straight into the next/previous
    slides. The action of "showing all pauses on the current slide" can now be
    done by pressing s (#678).
  New features:
  * Allow specifying where a snippet's execution output will go (#658).
  * Add include comment command to import markdown files (#651) (#683).
  * Allow validating snippets without explicitly executing them by using --validate-snippets switch (#645) (#637).
  * Support iterm2 image protocol when running in tmux (#661).
  * Add support for d2 diagrams (#657).
  * Errors encountered when parsing markdown now always display the file, line,
    and column where the error was found, as well as the markdown line that
    caused the error (#674) (#653) (#684) (#685).
  * Superscript via ^this^ and <sup>this</sup> syntaxes is supported when using
    the kitty terminal. For other terminals we try to use unicode half block
    characters which cover a portion of the ASCII charset. (#606)(#617 )
    (#665).
  * Allow alternative snippet executors for languages that support execution.
    This allows, for example, runnig rust code via rust-script or python code
    via pytest (#614).
  * Allow using env var PRESENTERM_CONFIG_FILE to point to the config file (#663)
  * Set background color via OSC 11 to avoid having a colored edge around the
    presentation (#623) (#624) (#627).
  * Add support for markdown footnotes (#616).
  * Runtime errors are now centered rather than being left aligned with some fixed margin (#638).

OBS-URL: https://build.opensuse.org/package/show/utilities/presenterm?expand=0&rev=37
2025-07-14 07:37:56 +00:00
2570f0a40f Accepting request 1281736 from utilities
- Update to 0.14.0:
  New features:
  * Add support for exporting presentations as HTML files (#566) (#595) (#575) (#599)
  * 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) (#593).
  * Add highlighting and execution support for Jsonnet (#585)
  * Allow configuring snippets to be executed sequentially during exports (#584).
  Fixes:
  * Skip slides with pauses correctly (#598).
  * Avoid printing text if there's no vertical space for it, which otherwise looks
    bad particularly when using font size > 1 (#594).
  * Execute snippets only once during export (#583).
  * Don't add an extra pause after lists if there's nothing left (#580).
  * Allow interleaved spans and variables in footer (#577).
  * Truly center +exec_replace snippet output (#572).

OBS-URL: https://build.opensuse.org/request/show/1281736
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/presenterm?expand=0&rev=16
2025-06-02 20:00:05 +00:00
6195f9d247 - Update to 0.14.0:
New features:
  * Add support for exporting presentations as HTML files (#566) (#595) (#575) (#599)
  * 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) (#593).
  * Add highlighting and execution support for Jsonnet (#585)
  * Allow configuring snippets to be executed sequentially during exports (#584).
  Fixes:
  * Skip slides with pauses correctly (#598).
  * Avoid printing text if there's no vertical space for it, which otherwise looks
    bad particularly when using font size > 1 (#594).
  * Execute snippets only once during export (#583).
  * Don't add an extra pause after lists if there's nothing left (#580).
  * Allow interleaved spans and variables in footer (#577).
  * Truly center +exec_replace snippet output (#572).

OBS-URL: https://build.opensuse.org/package/show/utilities/presenterm?expand=0&rev=35
2025-06-02 05:45:01 +00:00
be8c50e582 Accepting request 1272696 from utilities
- Update to 0.13.0:
  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).
  New features:
  * Support for slide transitions is now available (#530):
    + Add fade slide transition (#534).
    + Add slide horizontally slide transition animation (#528).
    + Add collapse_horizontal slide transition (#560).
  * Add --output option to specify the path where the output file is written to during an export
  (#526).
  * Allow specifying start/end lines in file snippet type (#565)
  * Allow letting pauses become new slides when exporting (#557).
  * Allow using images on right in footer (#554).
  * Add max_rows configuration to cap vertical size (#531).
  * Add julia language highlighting and execution support (#561).
  Fixes:
  * Center overflow lines when using centered text (#546).
  * Don't add extra space before heading if prefix in theme is empty (#542).
  * Use no typst background in terminal-* built in themes (#535).
  * Use std::env::temp_dir in the external_snippet test (#533)
  * Respect extends in a theme set via path in front matter (#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,

OBS-URL: https://build.opensuse.org/request/show/1272696
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/presenterm?expand=0&rev=15
2025-04-25 20:20:03 +00:00
e2907270c0 - Update to 0.13.0:
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).
  New features:
  * Support for slide transitions is now available (#530):
    + Add fade slide transition (#534).
    + Add slide horizontally slide transition animation (#528).
    + Add collapse_horizontal slide transition (#560).
  * Add --output option to specify the path where the output file is written to during an export
  (#526).
  * Allow specifying start/end lines in file snippet type (#565)
  * Allow letting pauses become new slides when exporting (#557).
  * Allow using images on right in footer (#554).
  * Add max_rows configuration to cap vertical size (#531).
  * Add julia language highlighting and execution support (#561).
  Fixes:
  * Center overflow lines when using centered text (#546).
  * Don't add extra space before heading if prefix in theme is empty (#542).
  * Use no typst background in terminal-* built in themes (#535).
  * Use std::env::temp_dir in the external_snippet test (#533)
  * Respect extends in a theme set via path in front matter (#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,

OBS-URL: https://build.opensuse.org/package/show/utilities/presenterm?expand=0&rev=33
2025-04-25 13:33:00 +00:00
fd8289bac2 Accepting request 1264635 from utilities
- Update to 0.12.0:
  Breaking changes:
  * Using incremental lists now adds an extra pause before and after a list.
    Use the defaults.incremental_lists configuration parameter to go
    back to the previous behavior (#487) (#498).
  New features:
  * PDF exports are now generated by invoking 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) (#517).
  * PDF export dimensions can now also be specified in the config file
    rather than always having them inferred by the terminal size (#511).
  * Allow specifying path for temporary files generated during presentation export (#518).
  * Respect font sizes in generated PDF (#510).
  * Add skip_slide comment command to avoid including a slide in the final presentation (#505).
  * Add alignment comment command to specify text alignment for the
    remainder of a slide (#493) (#522).
  * Add --current-theme CLI parameter to display the theme being used (#489).
  * Add gruvbox dark theme (#483)
  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).
  * Center lists correctly (#512) (#520).
  * Respect end slide shorthand in speaker notes mode (#494).
  * Use more visible colors in snippet execution output in terminal-light/dark themes (#485).
  * Show error if sixel mode is selected but disabled (#525).
  Docs:
  * Fix typo in README.md (#490)
  * Correctly include layout pic (#495)
  Misc:
  * Cleanup text attributes (#519).

OBS-URL: https://build.opensuse.org/request/show/1264635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/presenterm?expand=0&rev=14
2025-03-27 21:34:46 +00:00
f02e150f78 - Update to 0.12.0:
Breaking changes:
  * Using incremental lists now adds an extra pause before and after a list.
    Use the defaults.incremental_lists configuration parameter to go
    back to the previous behavior (#487) (#498).
  New features:
  * PDF exports are now generated by invoking 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) (#517).
  * PDF export dimensions can now also be specified in the config file
    rather than always having them inferred by the terminal size (#511).
  * Allow specifying path for temporary files generated during presentation export (#518).
  * Respect font sizes in generated PDF (#510).
  * Add skip_slide comment command to avoid including a slide in the final presentation (#505).
  * Add alignment comment command to specify text alignment for the
    remainder of a slide (#493) (#522).
  * Add --current-theme CLI parameter to display the theme being used (#489).
  * Add gruvbox dark theme (#483)
  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).
  * Center lists correctly (#512) (#520).
  * Respect end slide shorthand in speaker notes mode (#494).
  * Use more visible colors in snippet execution output in terminal-light/dark themes (#485).
  * Show error if sixel mode is selected but disabled (#525).
  Docs:
  * Fix typo in README.md (#490)
  * Correctly include layout pic (#495)
  Misc:
  * Cleanup text attributes (#519).

OBS-URL: https://build.opensuse.org/package/show/utilities/presenterm?expand=0&rev=31
2025-03-27 17:47:49 +00:00
d7f795efeb Accepting request 1251657 from utilities
- Update to 0.11.0:
  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) (#467) (#469) (#471).
  New features:
  * Add support for kitty's font size protocol. 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 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) (#460) (#470).
  * Allow specifying font size in a comment command, 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).
  * Footers can now contain images in the left and center components.
    This allows including some form of branding/company logo to your presentations (#450) (#476).
  * Footers can now contain inline markdown, which allows using bold,
    italics, <span> tags for colors, etc (#466).
  * Presentation titles can now contain inline markdown (#464).
  * Introduce palette.classes in themes to allow specifying combinations
    of foreground/background colors that can be referenced via the class attribute in <span> tags (#468).
  * It's now possible to configure the alignment to use when max_columns
    is configured and the terminal width is larger than it (#475).
  * Add support for wikilinks (#448).
  Fixes:
  * Don't get stuck if tmux doesn't passthrough (#456).
  * Don't squash image if terminal's font aspect ratio is not 2:1 (#446).
  * Fail if --config-file points to non existent file (#474).

OBS-URL: https://build.opensuse.org/request/show/1251657
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/presenterm?expand=0&rev=13
2025-03-10 18:07:18 +00:00
4d51181ce4 - Update to 0.11.0:
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) (#467) (#469) (#471).
  New features:
  * Add support for kitty's font size protocol. 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 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) (#460) (#470).
  * Allow specifying font size in a comment command, 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).
  * Footers can now contain images in the left and center components.
    This allows including some form of branding/company logo to your presentations (#450) (#476).
  * Footers can now contain inline markdown, which allows using bold,
    italics, <span> tags for colors, etc (#466).
  * Presentation titles can now contain inline markdown (#464).
  * Introduce palette.classes in themes to allow specifying combinations
    of foreground/background colors that can be referenced via the class attribute in <span> tags (#468).
  * It's now possible to configure the alignment to use when max_columns
    is configured and the terminal width is larger than it (#475).
  * Add support for wikilinks (#448).
  Fixes:
  * Don't get stuck if tmux doesn't passthrough (#456).
  * Don't squash image if terminal's font aspect ratio is not 2:1 (#446).
  * Fail if --config-file points to non existent file (#474).

OBS-URL: https://build.opensuse.org/package/show/utilities/presenterm?expand=0&rev=29
2025-03-10 07:34:35 +00:00
211a48df49 Accepting request 1247712 from utilities
- Update to 0.10.1:
  Fixes:
  * Don't error out if options in front matter doesn't include auto_render_languages (#454)
  * Bump sixel-rs to 0.4.1 to fix build in aarch64 and riscv64 (#452)

OBS-URL: https://build.opensuse.org/request/show/1247712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/presenterm?expand=0&rev=12
2025-02-21 20:39:07 +00:00
b8ad90b6b5 OBS-URL: https://build.opensuse.org/package/show/utilities/presenterm?expand=0&rev=27 2025-02-21 16:09:19 +00:00
15684281fb - Update to 0.10.1:
Fixes:
  * Don't error out if options in front matter doesn't include auto_render_languages (#454)
  * Bump sixel-rs to 0.4.1 to fix build in aarch64 and riscv64 (#452)

OBS-URL: https://build.opensuse.org/package/show/utilities/presenterm?expand=0&rev=26
2025-02-21 15:58:34 +00:00
178acbbde4 Accepting request 1242306 from utilities
- Update to 0.10.0:
  New features:
  * Support for presentation speaker notes (#389) (#419) (#421) (#425)
  * Add support for colored text via inline span HTML tags (#390).
  * Add a color palette in themes to allow reusing colors across the theme and using predefined colors inside
  span tags (#427).
  * Add support for github/gitlab style markdown alerts (#423) (#430).
  * Allow using +image on code blocks to consume their output as an image (#429).
  * Allow multiline comment commands (#424).
  * Allow auto rendering mermaid/typst/latex code blocks (#418).
  * Allow capping max columns on presentation (#417).
  * Automatically detect kitty support, including when running inside tmux (#406).
  * Use kitty image protocol in ghostty (#405).
  * Force color output in rust, c, and c++ compiler executions (#401).
  * Add graphql code highlighting (#385)
  * Add tcl code highlighting (#387)
  * Add Haskell executor (#414)
  * Add C# to code executors (#399)
  * Add R to executors (#393)
  Fixes:
  * Check for term_program before term to determine emulator (#420).
  * Allow jumping back to column in column layout (#396).
  * Ignore comments that start with vim: prefix (#395).
  * Respect +no_background on a +exec_replace block (#383).
  Docs:
  * Document tmux active session bug (#402).
  * Add notes on running bat directly (#397).

OBS-URL: https://build.opensuse.org/request/show/1242306
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/presenterm?expand=0&rev=11
2025-02-03 20:44:34 +00:00
765e893887 - Update to 0.10.0:
New features:
  * Support for presentation speaker notes (#389) (#419) (#421) (#425)
  * Add support for colored text via inline span HTML tags (#390).
  * Add a color palette in themes to allow reusing colors across the theme and using predefined colors inside
  span tags (#427).
  * Add support for github/gitlab style markdown alerts (#423) (#430).
  * Allow using +image on code blocks to consume their output as an image (#429).
  * Allow multiline comment commands (#424).
  * Allow auto rendering mermaid/typst/latex code blocks (#418).
  * Allow capping max columns on presentation (#417).
  * Automatically detect kitty support, including when running inside tmux (#406).
  * Use kitty image protocol in ghostty (#405).
  * Force color output in rust, c, and c++ compiler executions (#401).
  * Add graphql code highlighting (#385)
  * Add tcl code highlighting (#387)
  * Add Haskell executor (#414)
  * Add C# to code executors (#399)
  * Add R to executors (#393)
  Fixes:
  * Check for term_program before term to determine emulator (#420).
  * Allow jumping back to column in column layout (#396).
  * Ignore comments that start with vim: prefix (#395).
  * Respect +no_background on a +exec_replace block (#383).
  Docs:
  * Document tmux active session bug (#402).
  * Add notes on running bat directly (#397).

OBS-URL: https://build.opensuse.org/package/show/utilities/presenterm?expand=0&rev=24
2025-02-03 07:14:12 +00:00
6 changed files with 262 additions and 9 deletions

View File

@@ -1,9 +1,9 @@
<services>
<service mode="disabled" name="obs_scm">
<param name="url">https://github.com/mfontanini/presenterm</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="scm">git</param>
<param name="revision">v0.9.0</param>
<param name="revision">v0.15.1</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="versionrewrite-replacement">\1</param>

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:39ce9b18417bbd362a144507113a7dc0fa939b4402d919690e4028cb2643271c
size 2212507

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:56dd572be832667687f740f90aa0559d393603cd4f9332ae3415bd133efe7435
size 2125147

View File

@@ -1,3 +1,256 @@
-------------------------------------------------------------------
Mon Aug 4 06:57:12 UTC 2025 - Michael Vetter <mvetter@suse.com>
- Update to 0.15.1:
* Disable OSC 11 when running in tmux (#696).
* Follow custom theme symlinks (#692).
-------------------------------------------------------------------
Mon Jul 14 07:32:41 UTC 2025 - Michael Vetter <mvetter@suse.com>
- Update to 0.15.0:
* Breaking changes
The behavior for "jump next fast" and "jump previous fast" keybindings
(defaults to n and p) now jumps straight from one slide to the
next/previous one ignoring pauses. Before this used to "reveal" all pauses
when jumping forward before going to the next slide. This behavior was
weird and unintuitive so now fast jumps go straight into the next/previous
slides. The action of "showing all pauses on the current slide" can now be
done by pressing s (#678).
New features:
* Allow specifying where a snippet's execution output will go (#658).
* Add include comment command to import markdown files (#651) (#683).
* Allow validating snippets without explicitly executing them by using --validate-snippets switch (#645) (#637).
* Support iterm2 image protocol when running in tmux (#661).
* Add support for d2 diagrams (#657).
* Errors encountered when parsing markdown now always display the file, line,
and column where the error was found, as well as the markdown line that
caused the error (#674) (#653) (#684) (#685).
* Superscript via ^this^ and <sup>this</sup> syntaxes is supported when using
the kitty terminal. For other terminals we try to use unicode half block
characters which cover a portion of the ASCII charset. (#606)(#617 )
(#665).
* Allow alternative snippet executors for languages that support execution.
This allows, for example, runnig rust code via rust-script or python code
via pytest (#614).
* Allow using env var PRESENTERM_CONFIG_FILE to point to the config file (#663)
* Set background color via OSC 11 to avoid having a colored edge around the
presentation (#623) (#624) (#627).
* Add support for markdown footnotes (#616).
* Runtime errors are now centered rather than being left aligned with some fixed margin (#638).
* Allow configuring number of newlines in between list items (#628).
* Allow 3 digit hex colors (#609)
* Allow configuring font used in PDF export (#608).
* Added uv as an alternative executor for python code (#662)
* Allow multiline slide titles (#679).
* Add support for multiline slide titles (#682)
* Add support for multiline subtitle (#680)
* Add support for syntax highlighting and execution for F# (#650)
* Use text style/colors in rust-script errors (#644).
* Added rust-script-pedantic alternative executor for rust (#640).
Fixes:
* Consider rect start row when capping max terminal rows (#656).
* Skip speaker notes slide on skip_slide (#625).
* Don't loop on 0 bytes read when querying capabilities (#620).
* Make code snippet language specifiers case insensitive (#613)
* Bump dependencies (#681)
Chore:
* Refactored code to make it more easily testeable, and added lots of tests
to ensure markdown is rendered as expected. This will hopefully reduce the
number of errors found after each release (#660) (#659) (#655) (#647).
* Bump rust version to 1.82 (#611).
* Perform better validation around matching HTML tags (#668).
* Don't run nightly job if the git hash hasn't changed (#667) (#675) (#669).
* Display an error when using http(s) urls in image tags (#666).
* Update Catppuccin themes to use palettes (#672)
Docs:
* Add custom introduction slides example (#633).
* Add mention of winget (#621)
* Fix incorrect note callout (#610)
* Add a note to export pdf using uv (#646)
* Clarify why no remote urls work with images (#664)
-------------------------------------------------------------------
Mon Jun 2 05:41:07 UTC 2025 - Michael Vetter <mvetter@suse.com>
- Update to 0.14.0:
New features:
* Add support for exporting presentations as HTML files (#566) (#595) (#575) (#599)
* 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) (#593).
* Add highlighting and execution support for Jsonnet (#585)
* Allow configuring snippets to be executed sequentially during exports (#584).
Fixes:
* Skip slides with pauses correctly (#598).
* Avoid printing text if there's no vertical space for it, which otherwise looks
bad particularly when using font size > 1 (#594).
* Execute snippets only once during export (#583).
* Don't add an extra pause after lists if there's nothing left (#580).
* Allow interleaved spans and variables in footer (#577).
* Truly center +exec_replace snippet output (#572).
-------------------------------------------------------------------
Fri Apr 25 13:28:01 UTC 2025 - Michael Vetter <mvetter@suse.com>
- Update to 0.13.0:
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).
New features:
* Support for slide transitions is now available (#530):
+ Add fade slide transition (#534).
+ Add slide horizontally slide transition animation (#528).
+ Add collapse_horizontal slide transition (#560).
* Add --output option to specify the path where the output file is written to during an export
(#526).
* Allow specifying start/end lines in file snippet type (#565)
* Allow letting pauses become new slides when exporting (#557).
* Allow using images on right in footer (#554).
* Add max_rows configuration to cap vertical size (#531).
* Add julia language highlighting and execution support (#561).
Fixes:
* Center overflow lines when using centered text (#546).
* Don't add extra space before heading if prefix in theme is empty (#542).
* Use no typst background in terminal-* built in themes (#535).
* Use std::env::temp_dir in the external_snippet test (#533)
* Respect extends in a theme set via path in front matter (#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).
* Get rid of textproperties (#529).
* Add links to presentations using presenterm (#544)
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).
+ Pre-scale generated images (#553).
+ Cache resized ASCII images (#547).
-------------------------------------------------------------------
Thu Mar 27 17:43:34 UTC 2025 - Michael Vetter <mvetter@suse.com>
- Update to 0.12.0:
Breaking changes:
* Using incremental lists now adds an extra pause before and after a list.
Use the defaults.incremental_lists configuration parameter to go
back to the previous behavior (#487) (#498).
New features:
* PDF exports are now generated by invoking 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) (#517).
* PDF export dimensions can now also be specified in the config file
rather than always having them inferred by the terminal size (#511).
* Allow specifying path for temporary files generated during presentation export (#518).
* Respect font sizes in generated PDF (#510).
* Add skip_slide comment command to avoid including a slide in the final presentation (#505).
* Add alignment comment command to specify text alignment for the
remainder of a slide (#493) (#522).
* Add --current-theme CLI parameter to display the theme being used (#489).
* Add gruvbox dark theme (#483)
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).
* Center lists correctly (#512) (#520).
* Respect end slide shorthand in speaker notes mode (#494).
* Use more visible colors in snippet execution output in terminal-light/dark themes (#485).
* Show error if sixel mode is selected but disabled (#525).
Docs:
* Fix typo in README.md (#490)
* Correctly include layout pic (#495)
Misc:
* Cleanup text attributes (#519).
* Refactor snippet processing (#484).
-------------------------------------------------------------------
Mon Mar 10 07:30:11 UTC 2025 - Michael Vetter <mvetter@suse.com>
- Update to 0.11.0:
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) (#467) (#469) (#471).
New features:
* Add support for kitty's font size protocol. 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 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) (#460) (#470).
* Allow specifying font size in a comment command, 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).
* Footers can now contain images in the left and center components.
This allows including some form of branding/company logo to your presentations (#450) (#476).
* Footers can now contain inline markdown, which allows using bold,
italics, <span> tags for colors, etc (#466).
* Presentation titles can now contain inline markdown (#464).
* Introduce palette.classes in themes to allow specifying combinations
of foreground/background colors that can be referenced via the class attribute in <span> tags (#468).
* It's now possible to configure the alignment to use when max_columns
is configured and the terminal width is larger than it (#475).
* Add support for wikilinks (#448).
Fixes:
* Don't get stuck if tmux doesn't passthrough (#456).
* Don't squash image if terminal's font aspect ratio is not 2:1 (#446).
* Fail if --config-file points to non existent file (#474).
* Use right script name for kotlin files when executing (#462).
* Respect lists that start at non 1 indexes (#459).
* Jump to right slide on code attribute change (#478).
Improvements:
* Remove result return type from builder fns that don't need it (#465).
* Refactor theme code (#463).
* Restructure terminal code and add test for margins/layouts (#443).
* Use fastrand instead of rand (#441).
* Avoid cloning strings when styling them (#440).
-------------------------------------------------------------------
Fri Feb 21 15:51:42 UTC 2025 - Michael Vetter <mvetter@suse.com>
- Update to 0.10.1:
Fixes:
* Don't error out if options in front matter doesn't include auto_render_languages (#454)
* Bump sixel-rs to 0.4.1 to fix build in aarch64 and riscv64 (#452)
-------------------------------------------------------------------
Mon Feb 3 07:07:23 UTC 2025 - Michael Vetter <mvetter@suse.com>
- Update to 0.10.0:
New features:
* Support for presentation speaker notes (#389) (#419) (#421) (#425)
* Add support for colored text via inline span HTML tags (#390).
* Add a color palette in themes to allow reusing colors across the theme and using predefined colors inside
span tags (#427).
* Add support for github/gitlab style markdown alerts (#423) (#430).
* Allow using +image on code blocks to consume their output as an image (#429).
* Allow multiline comment commands (#424).
* Allow auto rendering mermaid/typst/latex code blocks (#418).
* Allow capping max columns on presentation (#417).
* Automatically detect kitty support, including when running inside tmux (#406).
* Use kitty image protocol in ghostty (#405).
* Force color output in rust, c, and c++ compiler executions (#401).
* Add graphql code highlighting (#385)
* Add tcl code highlighting (#387)
* Add Haskell executor (#414)
* Add C# to code executors (#399)
* Add R to executors (#393)
Fixes:
* Check for term_program before term to determine emulator (#420).
* Allow jumping back to column in column layout (#396).
* Ignore comments that start with vim: prefix (#395).
* Respect +no_background on a +exec_replace block (#383).
Docs:
* Document tmux active session bug (#402).
* Add notes on running bat directly (#397).
-------------------------------------------------------------------
Mon Oct 7 08:30:01 UTC 2024 - Michael Vetter <mvetter@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package presenterm
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: presenterm
Version: 0.9.0+0
Version: 0.15.1
Release: 0
Summary: A terminal slideshow tool
License: BSD-2-Clause

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba3a38daadd705efe04a9f5a157c68a2d794a7c4f2849c74f2d4f932d4e4b488
size 27903676
oid sha256:38437b21a5960d67570c09494b755c70531ef9e48fe4240b823eb0b67d29fac0
size 27495272