EU Parliament Monitor — API Documentation - v0.9.24
    Preparing search index...
    • Normalise a Markdown heading's text for comparison against the editorial-lede heading whitelist. Strips inline Markdown decorations (*, _, `, #), then strips any leading non-alphanumeric characters (emoji, punctuation, spaces) so a heading like 🎯 Headline Judgement compares equal to headline judgement.

      Parameters

      • raw: string

        Raw heading text (no leading hashes)

      Returns string

      Lower-cased, decoration-stripped heading text