Keep Newlines In Espanso

November - 2021

This is an example of allowing extra newlines at the end of a espanso expansion script by turning off trim

# Grimoire Post Template
- trigger: "post;"
  replace: "{{output}}"
  vars:
    - name: output
      type: script 
      params:
        args:
          - bash
          - "%CONFIG%/scripts/post.espanso"
        trim: false

via: https://newreleases.io/project/github/federico-terzi/espanso/release/v0.4.1