Saving a Markdown Document to Your Pod
Introduction
This hack combines two previous hacks. Creating a Realtime Markdown Editor and URL shortening.
https://solid.gitbook.io/solid-hacks/section-1/creating-a-realtime-markdown-editor
https://solid.gitbook.io/solid-hacks/section-1/url-shortening
By combing these two you can save Mardown documents using just a URL. The reason is that the markdown editor can save the contents in the query string.
The Hack
As before we are going to create a url shortener. This time we will past in the following long URL.
Save the shortened file, to a file name of your choosing, an example would be u/markdown_doc.html
And you're done!
Demo
https://solidhacks.solid.community/public/demos/markdown_doc.html
Exercises
Create some markdown docs, save them to your pod, and share the shortened URLs
Last updated