Solid Hacks
Search…
Saving a Markdown Document to Your Pod

Introduction

This hack combines two previous hacks. Creating a Realtime Markdown Editor and 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

Exercises

Create some markdown docs, save them to your pod, and share the shortened URLs
Last modified 3yr ago