Rewrote the article generator to visualize the editing in real-time