I think you could use salt, then share the hash of the salted plaintext and the hash of the salt itself ahead of time. Then, after publication, share the plaintext of the salt to prove that you knew the plaintext ahead of time.
Might be simpler to share an encrypted hash ahead of time, though, and then share the encryption key after publication.