diff options
author | Eduardo Julian | 2019-03-30 21:45:45 -0400 |
---|---|---|
committer | Eduardo Julian | 2019-03-30 21:45:45 -0400 |
commit | 118895081d97279a796cc704e6c23bf92ed79e5e (patch) | |
tree | 1ea654e3f913bfc5f978bba46620c535e7a4a7bc /stdlib/source/lux/data/format/markdown.lux | |
parent | 5009bfaa56119a58e675a1e6008623790b54cc1c (diff) |
Re-named "do-template" to "template".
Diffstat (limited to 'stdlib/source/lux/data/format/markdown.lux')
-rw-r--r-- | stdlib/source/lux/data/format/markdown.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/lux/data/format/markdown.lux b/stdlib/source/lux/data/format/markdown.lux index 81c7118e7..b5dcbc46f 100644 --- a/stdlib/source/lux/data/format/markdown.lux +++ b/stdlib/source/lux/data/format/markdown.lux @@ -48,7 +48,7 @@ (def: blank-line (format text.new-line text.new-line)) - (do-template [<name> <prefix>] + (template [<name> <prefix>] [(def: #export (<name> content) (-> Text Markdown) (:abstraction (format <prefix> " " (..sanitize content) ..blank-line)))] @@ -73,7 +73,7 @@ (Markdown Span) (:abstraction (format " " text.new-line))) - (do-template [<name> <wrapper>] + (template [<name> <wrapper>] [(def: #export <name> (-> (Markdown Span) (Markdown Span)) (|>> :representation @@ -158,7 +158,7 @@ (type: #export Email Text) - (do-template [<name> <type>] + (template [<name> <type>] [(def: #export <name> (-> <type> (Markdown Span)) (|>> (text.enclose ["<" ">"]) :abstraction))] @@ -167,7 +167,7 @@ [email Email] ) - (do-template [<name> <brand> <infix>] + (template [<name> <brand> <infix>] [(def: #export (<name> pre post) (-> (Markdown <brand>) (Markdown <brand>) (Markdown <brand>)) (:abstraction (format (:representation pre) <infix> (:representation post))))] |