lewa/words/utils/showContentWord.dhall

15 lines
239 B
Plaintext
Raw Normal View History

2020-05-17 21:23:39 +00:00
let ContentWord = ../types/ContentWord.dhall
let render
: ContentWord.Type → Text
= λ(word : ContentWord.Type) →
''
### ${word.word}
*${word.gloss}*
${word.definition}
''
in render