Last active
April 13, 2021 23:36
-
-
Save cari-lynn/73596549ea02edf2ffb456d2f4b353f3 to your computer and use it in GitHub Desktop.
Starlark multiline string preserve whitespace
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
def starlark_func(): | |
return ''' | |
Yesterday it worked. | |
Today it is not working. | |
That's computers. Sigh. | |
''' | |
end |
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
#@ load("demo.star", "starlark_func") | |
multiline: #@ starlark_func() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment