Last active
March 22, 2021 14:56
-
-
Save Metaxal/10392f64b3860599f4a4643ea3a6978d to your computer and use it in GitHub Desktop.
A quickscript to change the selection to upcase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#lang racket/base | |
(require quickscript) | |
;; Returns a replacement string for the selected string `selection` | |
;; ("" if no text is selected), or `#f` to leave the selection as is. | |
(define-script upcase | |
#:label "upcase" | |
(λ (selection) | |
(string-upcase selection))) | |
;; This is a really cool script! Oh folly… | |
(module url2script-info racket/base | |
(provide filename url) | |
(define filename "upcase.rkt") | |
(define url "https://gist.github.com/Metaxal/10392f64b3860599f4a4643ea3a6978d/raw")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment