Added the match and parse functions in order to execute the RegEx in the previous diff (in the stack), so we can then capture the spoiler text and transform it later.
Linear Issue: https://linear.app/comm/issue/ENG-1982/set-up-the-match-and-parse-functions-in-markdownjs-in-the-lib
Depends on D5335