Prompt to Generate a Wiki Based Document App

Make a browser based application to edit documents. The document is like a wiki. The editor should be there to edit text. Save and new buttons should be there. When a word or words in the document are selected, it should open a new empty editor, to edit a new part for the document. With the selected word or words shown as a link in the previous part. When save button is clicked, all the parts of the document should be saved in the order in which they are added.

Result

This prompt worked. It has generated an HTML file based app. I modified the prompt to save text in a text file. Perhaps, AI/ChatGPT cannot handle more complex recursion.

Leave a Reply

Discover more from Amol's Code Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading