Today I setup a new website:
Something I want, something I'll use, and something that might be useful to others?
Tags: markdown, pastebin, random 4 comments
Pastebin site with markdown support16 February 2014 21:50 Today I setup a new website: Something I want, something I'll use, and something that might be useful to others? Tags: markdown, pastebin, random 4 comments
Comments on this entry
Hi Steve, That's a great idea! Doesn't seem to be working for me though :^( When running:
$ curl -H "Accept: application/json" -X POST -F "text=<test.md" http://markdownshare.com/create/
{"link":"http://"http://markdownshare.com/view/1O"," delete":"http://markdownshare.com/delete/d7405321f34c214d113f08f4db18e257","id":"1O"}
Entry number 10 is obviously not the one as it existed (and other ones up to and including 19) prior to me trying to post it. Could you shed some light on it, please?
Looks like your curl worked to me, did you mistake the number zero for the letter "o"? http://markdownshare.com/view/1O looks like yours - or at least not one of my early tests.
Ha! Yes, I did! On the terminal which I had used `O` looks like `0`, and I made the (wrong!) assumption that IDs are simply consecutive numbers (decimal or probably even hex), so rather than copying the link, I have used a previous link in the address bar simply substituting the ID part. Thanks for clarifying. Best regards, rjc |
Recent Posts
|
http://xengi.de/
Thx. That looks nice and I will probably use this quite often.