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
Michael Vetter2025-08-04 07:01:53 +00:00
b22b37727a
Accepting request 1292635 from utilities
Ana Guerrero2025-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).
Michael Vetter2025-07-14 07:37:56 +00:00
2570f0a40f
Accepting request 1281736 from utilities
Ana Guerrero2025-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).
Michael Vetter2025-06-02 05:45:01 +00:00
be8c50e582
Accepting request 1272696 from utilities
Ana Guerrero2025-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,
Michael Vetter2025-04-25 13:33:00 +00:00
fd8289bac2
Accepting request 1264635 from utilities
Ana Guerrero2025-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).
Michael Vetter2025-03-27 17:47:49 +00:00
d7f795efeb
Accepting request 1251657 from utilities
Ana Guerrero2025-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).
Michael Vetter2025-03-10 07:34:35 +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)
Michael Vetter2025-02-21 15:58:34 +00:00
178acbbde4
Accepting request 1242306 from utilities
Ana Guerrero2025-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).
Michael Vetter2025-02-03 07:14:12 +00:00
bec1098b28
- Update to 0.9.0: Breaking changes: * Default themes now no longer use a progress bar based footer. Instead they use indicator of the current page number and the total number of pages. If you'd like to preserve the old behavior, you can override the theme by using footer.style = progress_bar in your theme. * Links that include a title (e.g. [my title](http://example.com)) now have their title rendered as well. Removing a link's title will make it look the same as they used to. New features: * Use "template" footer in built-in themes (#358). * Allow including external code snippets (#328) (#372). * Add +no_background property to remove background from code blocks (#363) (#368). * Show colored output from snippet execution output (#316). * Style markdown inside block quotes (#350) (#351). * Allow using all intro slide variables in footer template (#338). * Include hidden line prefix in executors file (#337). * Show link labels and titles (#334). * Add +exec_replace which executes snippets and replaces them with their output (#330) (#371). * Always show snippet execution bar (#329). * Handle suspend signal (SIGTSTP) (#318). * Allow closing with q (#321). * Add event, location, and date labels in intro slide (#317). * Use transparent background in mermaid charts (#314). * Add +acquire_terminal to acquire the terminal when running snippets (#366) (#376). * Add PHP executor (#332). * Add Racket syntax highlighting (#367). * Add TOML highlighting (#361). Fixes: * Wrap code snippets if they don't fit in terminal (#320).
Michael Vetter2024-10-07 08:35:05 +00:00
4641978ea6
- Update to 0.8.0: Breaking changes: * Force users to explicitly enable snippet execution (#276) (#281). New features: * Code snippet execution for various programming languages (#253) (#255) (#256) (#258) (#282). * Allow executing compiled snippets in windows (#303). * Add support for hidden lines in code snippets (#283) (#254). * Support mermaid snippet rendering to image via +render attribute (#268). * Allow scaling images dynamically based on terminal size (#288) (#291). * Allow scaling images generated via +render code blocks (mermaid, typst, latex) (#290). * Show stderr output from code execution (#252). * Wait for code execution process to exit completely (#250). * Generate images in +render code snippets asynchronously (#273) (#293) (#284) (#279). * Dim non highlighted code snippet lines (#287). * Shrink snippet execution to match code block width (#286). * Include code snippet execution output in generated PDF (#295). * Cache +render block images (#270). * Add kotlin script executor (#257). * Add nushell code execution (#274) (#275). * Add rust-script as a new code executor (#269). * Allow custom themes to extend others (#265). * Allow jumping fast between slides (#244). * Allow explicitly disabling footer in certain slides (#239). * Allow using image paths in typst (#235). * Add JSON schema for validation,completion,documentation (#228) (#236). * Allow having multiple authors (#227). Fixes: * Avoid re-rendering code output and auto rendered blocks (#280). * Use unicode width to calculate execution output's line len (#261). * Display background color behind '\t' in code exec output (#245).
Michael Vetter2024-07-30 03:55:24 +00:00
a7fa641a35
Accepting request 1154566 from utilities
Ana Guerrero2024-03-04 20:25:20 +00:00
abdcee1e03
- Update to 0.7.0: New features: * Add color to prefix in block quote (#218). * Allow having code blocks without background (#215#216). * Allow validating whether presentation overflows terminal (#209#211). * Add parameter to list themes (#207). * Add catppuccin themes (#197#205#206) * Detect konsole terminal emulator (#204). * Allow customizing slide title style (#201). Fixes: * Don't crash in present mode (#210). * Set colors properly before displaying an error (#212). Improvements: * Suggest a tool is missing when spawning returns ENOTFOUND (#221). * Sort input file list (#202). * Add more example presentations (#217). * Add Scoop to package managers (#200). * Remove support for uncommon image formats (#208).
Michael Vetter2024-03-04 06:55:27 +00:00
2db3992ada
Accepting request 1146266 from utilities
Ana Guerrero2024-02-13 21:43:01 +00:00
9e886daec5
- Update to 0.6.1: * Don't escape symbols in block quotes (#195). * Respect XDG_CONFIG_HOME when loading configuration files and custom themes (#193).
Michael Vetter2024-02-12 19:36:23 +00:00
c9c61459de
Accepting request 1145571 from utilities
Ana Guerrero2024-02-11 14:45:27 +00:00
e3e46d5660
changed in Windows and macOS to be compliant to where guide to learn more.
Michael Vetter2024-02-10 07:16:26 +00:00
d692b8c84b
- Update to 0.6.0: Breaking changes: * The default configuration file and custom themes paths have been changed in Windows and macOS to be compliant to where those platforms store these types of files. See the configuration guide to learn more. New features: * Add f keys, tab, and backspace as possible bindings (#188). * Add support for multiline block quotes (#184). * Use theme color as background on ascii-blocks mode images (#182). * Blend ascii-blocks image semi-transparent borders (#185). * Respect Windows/macOS config paths for configuration (#181). * Allow making front matter strict parsing optional (#190). Fixes: * Don't add an extra line after an end slide shorthand (#187). * Don't clear input state on key release event (#183).
Michael Vetter2024-02-10 07:15:17 +00:00
e4cf1d9e0a
Accepting request 1141920 from utilities
Ana Guerrero2024-01-28 18:42:10 +00:00
57a44042ba
- Update to 0.5.0: New features: * Support images on Windows (#120). * Support animated gifs on kitty terminal (#157#161). * Support images on tmux running in kitty terminal (#166). * Improve sixel support (#169#172). * Use synchronized updates to remove flickering when switching slides (#156). * Add newlines command (#167). * Detect image protocol instead of relying on viuer (#160). * Turn documentation into mdbook (#141#147) * Allow using thematic breaks to end slides (#138). * Allow specifying the preferred image protocol via --image-protocol / config file (#136#170). * Add slide index modal (#128#139#133#158). * Allow defining custom keybindings in config file (#132#155). * Add key bindings modal (#152). * Prioritize CLI args --theme over anything else (#116). * Allow enabling automatic list pauses (#106#109#110). * Allow passing in config file path via CLI arg (#174). Fixes: * Shrink columns layout dimensions correctly when shrinking left (#113). * Explicitly set execution output foreground color in built-in themes (#122). * Detect sixel early and fallback to ascii blocks properly (#135). * Exit with a clap error on missing path (#150). * Don't blow up if presentation file temporarily disappears (#154). * Parse front matter properly in presence of \r\n (#162). * Don't preload graphics mode when generating pdf metadata (#168). * Ignore key release events (#119). Improvements: * Validate that config file contains the right attributes (#107). * Display first presentation load error as any other (#118).
Michael Vetter2024-01-27 06:50:24 +00:00
f88f1e5015
Accepting request 1134652 from utilities
Ana Guerrero2023-12-22 21:42:50 +00:00
f5d945223d
- Update to 0.4.1: * Cause an error if an unknown field name is found on a theme, config file, or front matter (#102). * Explicitly disable kitty/iterm protocols when printing images in export PDF mode as this was causing PDF generation in macOS to fail (#101).
Michael Vetter2023-12-22 16:19:32 +00:00
fb89b40087
Accepting request 1133672 from utilities
Ana Guerrero2023-12-17 20:33:14 +00:00
b1a2f3d29c
Accepting request 1128654 from utilities
Ana Guerrero2023-11-26 18:36:45 +00:00
9cfe487877
- Update to 0.3.0: New features: * Support more languages in code blocks thanks to bat's syntax sets (#21#53). * Add shell script executable code blocks (#17). * Allow exporting presentation to PDF (#43#60). * Pauses no longer create new slides (#18#25#34#42). * Allow display code block line numbers (#46). * Allow code block selective line highlighting (#48). * Allow code block dynamic line highlighting (#49). * Support animated gifs when using the iterm2 image protocol (#56). * Nix flake packaging (#11#27). * Arch repo packaging (#10). * Ignore vim-like code folding tags in comments. * Add keybinding to refresh assets in presentation (#38). * Template style footer is now one row above bottom (#39). * Add light theme (#55). Fixes: * Don't crash on Windows when terminal window size can't be found (#14). * Don't reset numbers on ordered lists when using pauses in between (#19). * Show proper line number when parsing a comment command fails (#29#40). * Don't reset the default footer when overriding theme in presentation without setting footer (#52). * Don't let code blocks/block quotes that don't fit on the screen cause images to overlap with text (#57).
Michael Vetter2023-11-24 21:12:20 +00:00
96f0087c35
Accepting request 1118839 from utilities
Ana Guerrero2023-10-19 20:48:53 +00:00
da4598bdb6
- Update to 0.2.1: * Binary artifacts are now automatically generated when a new release is done #5Michael Vetter2023-10-19 07:51:11 +00:00