feat: initial changes to presenterm

This commit is contained in:
silver 2025-09-04 16:48:11 +01:00
parent de685b6d6f
commit 8a2fc923d1
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
6 changed files with 183 additions and 127 deletions

33
config.yaml Normal file
View file

@ -0,0 +1,33 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/mfontanini/presenterm/master/config-file-schema.json
defaults:
# override the terminal font size when in windows or when using sixel.
terminal_font_size: 20
speaker_notes:
always_publish: true
export:
pauses: new_slide
# dimensions:
# rows: 53
# columns: 165
snippet:
exec:
# enable code snippet execution. Use at your own risk!
enable: true
custom:
# The keys should be the language identifier you'd use in a code block.
racket:
# The name of the file that will be created with your snippet's contents.
filename: "snippet.rkt"
# A prefix that indicates a line that starts with it should not be visible but should be executed if the
# snippet is marked with `+exec`.
hidden_line_prefix: "/// "
# A list of commands that will be ran one by one in the same directory as the snippet is in.
commands:
# run the racket program
- ["racket", "$pwd/snippet.rkt"]