lewa/words/utils/showContentWord.dhall

15 lines
239 B
Plaintext

let ContentWord = ../types/ContentWord.dhall
let render
: ContentWord.Type → Text
= λ(word : ContentWord.Type) →
''
### ${word.word}
*${word.gloss}*
${word.definition}
''
in render