Skip to content

Releases: mfontanini/presenterm

v0.9.0

06 Oct 19:33
657155e
Compare
Choose a tag to compare

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).
  • Allow list-themes/acknowledgements to run without path (#359).
  • Translate tabs in code snippets to 4 spaces (#356).
  • Add padding to right of code block wrapped lines (#354).
  • Don't wrap code snippet separator line (#353).
  • Show block quote prefix when wrapping (#352).
  • Don't crash on code block with only hidden-line-prefixed lines (#347).
  • Canonicalize resources path (#333).
  • Execute script relative to current working directory (#323).
  • Support rendering mermaid charts on windows (#319).

Improvements

  • Add example on how column layouts and pauses interact (#348).
  • Rename jump_to_vertical_center -> jump_to_middle in docs (#342).
  • Document all snippet highlighting keyword (#335).

v0.8.0

29 Jul 13:28
db2778d
Compare
Choose a tag to compare

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) - thanks @dmackdev.
  • 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) - thanks @dmackdev.
  • Wait for code execution process to exit completely (#250) - thanks @dmackdev.
  • 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) - thanks @dmackdev.
  • Add nushell code execution (#274) (#275) - thanks @PitiBouchon.
  • Add rust-script as a new code executor (#269) - @ZhangHanDong.
  • 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) - thanks @mikavilpas.
  • 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).
  • Close child process stdin by default (#297).

Improvements

  • Update install instructions for Arch Linux (#248) - thanks @orhun.
  • Fix all clippy warnings (#231) - thanks @mikavilpas.
  • Include strict _front_matter_parsing in default config (#229) - thanks @mikavilpas.
  • CHANGELOG.md contains clickable links to issues (#230) - thanks @mikavilpas.
  • Add Support for Ruby Code Highlighting (#226) - thanks @pranavrao145.
  • Use ".presenterm" as prefix for tmp files (#306).
  • Add more descriptive error message when loading image fails (#298).
  • Align all error messages to left (#301).

v0.7.0

02 Mar 17:35
5ae8c1b
Compare
Choose a tag to compare

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) - thanks @Mawdac.
  • 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) - thanks @bmwiedemann.
  • Add more example presentations (#217).
  • Add Scoop to package managers (#200) - thanks @nagromc.
  • Remove support for uncommon image formats (#208).

v0.6.1

11 Feb 19:58
Compare
Choose a tag to compare

Fixes

  • Don't escape symbols in block quotes (#195).
  • Respect XDG_CONFIG_HOME when loading configuration files and custom themes (#193).

v0.6.0

09 Feb 18:57
Compare
Choose a tag to compare

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).

v0.5.0

26 Jan 23:48
Compare
Choose a tag to compare

v0.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) - thanks @pwnwriter.
  • 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).
  • Add hashes for windows artifacts (#126).
  • Remove arch packaging files (#111).
  • Lower CPU and memory usage when displaying images (#157).

v0.4.1

22 Dec 14:51
1020f14
Compare
Choose a tag to compare

New features

  • Raise an error if an unknown field name is found on a theme, config file, or front matter (#102).

Fixes

  • Explicitly disable kitty/iterm protocols when printing images in export PDF mode as this was causing PDF generation in
    macOS to fail (#101).

v0.4.0

16 Dec 15:03
Compare
Choose a tag to compare

New features

  • Add support for all of bat's code highlighting themes (#67).
  • Add terminal-dark and terminal-light themes that preserve the terminal's colors and background (#68 #69).
  • Allow placing themes in $HOME/.config/presenterm/themes to make them available automatically as if they were
    built-in themes (#73).
  • Allow configuring the default theme in $HOME/.config/presenterm/config.yaml (#74).
  • Add support for rendering LaTeX and typst code blocks automatically as images (#75 #76 #79 #81).
  • Add syntax highlighting support for nix and diff (#78 #82) (thanks @GaetanLepage and @rmartine-ias)
  • Add comment command to jump into the middle of a slide (#86).
  • Add configuration option to have implicit slide ends (#87 #89).
  • Add configuration option to have custom comment-command prefix (#91).

v0.3.0

24 Nov 16:35
Compare
Choose a tag to compare

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).

v0.2.1

18 Oct 23:53
Compare
Choose a tag to compare

New features

  • Binary artifacts are now automatically generated when a new release is done (#5) - thanks @pwnwriter.