Etymology
Today it means: The product of inditing or composing; a written composition. Full definition →
From indite + -ment.
Etymology from Wiktionary, CC BY-SA 4.0.