diff options
| author | Albert Krewinkel <albert+github@zeitkraut.de> | 2017-11-18 22:24:06 +0100 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2017-11-18 13:24:06 -0800 |
| commit | 53aafd66434d97f5e0e9209650581177e2c79a91 (patch) | |
| tree | aa703574e2b659a13c608f67cc35b93376da4fa2 /stack.pkg.yaml | |
| parent | 6018a2324d4eddc3844aa4c00b17294e85003750 (diff) | |
Lua filters: preload text module (#4077)
The `text` module is preloaded in lua. The module contains some UTF-8
aware string functions, implemented in Haskell. The module is loaded on
request only, e.g.:
text = require 'text'
function Str (s)
s.text = text.upper(s.text)
return s
end
Diffstat (limited to 'stack.pkg.yaml')
| -rw-r--r-- | stack.pkg.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stack.pkg.yaml b/stack.pkg.yaml index 83aed507b..55dfc337a 100644 --- a/stack.pkg.yaml +++ b/stack.pkg.yaml @@ -15,6 +15,7 @@ packages: extra-deps: - pandoc-types-1.17.3 - hslua-0.9.2 +- hslua-module-text-0.1.2 - skylighting-0.4.3.2 - texmath-0.10 - cmark-gfm-0.1.1 |
