lewa/words/utils/showParticleWord.dhall

17 lines
275 B
Plaintext

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