Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Espanso/Python underline text.
- # Triggered by prefixing and suffixing the text with "**"
- # Won't combine characters in some environments
- - regex: \*\*(?P<word>.*)\*\*
- replace: '{{output}}'
- vars:
- - name: output
- type: script
- params:
- args:
- - python
- - -c
- - print('\u0332'.join('{{word}}') + '\u0332')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement