How to easily get the markdown source from any post without programming

in #steemit8 years ago (edited)

Do you want to get your markdown source from your old post? Or you want to learn markdown by taking a look on other posts and their markdown source?

Install a json viewer on your browser

I'm using the open-source extension json-viewer

Viewing posts

Extracting the markdown code

  • add .json to the steemit url of a post.
  • copy everything after body": between " and ",
  • All newlines are replaced by \n, so you can replace all \n by a newline. You can do this with notepad++ for example.

Replace \n with a line break

  • Open notepad++ and copy the source.
  • Open Replace or press STRG+h and use the following settings:
  • Press replace all

Example

Enter into your browser: https://hive.blog/steem/@steemitblog/dev-portal-update-new-steem-developer-resources.
You see then something like:


Replace all \n with notepad++ and copy everything to an editor of your choice. Now, you can take a look at the source code:


Viewing accounts

You can also take a look on the raw data of an account.

Take a look on an account

  • add .json to the steemit url of an account.

Example

Enter into your browser: https://steemit.com/@steemitblog.json


I hope this short information was helpful for you. For me this is very useful and I did not know this for a long time. Now, I can easily copy some parts from the markdown code of my old post.

Sort:  

This is handy to know, as often when I forget the exact code (or wish to copy paste an old post's markdown), yet I can no longer edit it. Thanks for the share.

Data in json form is normally what I want when I want to feed it to software. It surprises me that this would be useful. Sometimes figuring out how things that are seemingly uninteresting or impractical and putting them to use is something that we lack in schools.

Did you know you can calculate positions on a spiral curve faster by multiplying complex numbers?

I was talking about extracting the post body which contains the markdown source of a post without using any tools or writing a python program. I find this useful, so I can copy a table from an old post and update its content for example.

Good example. Sometimes uses for technology are not immediately obvious for everyone.

Good walk through and tip. I use markdownpad as my markdown editor. It works well for text formatting, however, doesn't display images well in the preview. What markdown editor do you use?

I tried some, but I'm using the web interface of steemit now.

I can already see that this is going to be a live-saver for me. There have been a bunch of times where I've needed to see the markdown source on some posts that were older than 7 days, definitely bookmarking this one. Thanks!

Wonderful post ..thanks for sharing...Best of luck friend ✫ resteemid

This is going to be helpful! I lost some of my markdown files for older posts, and pretty much had given up on doing anything more with them. But this will be helpful!

nice tricks, very helpful. Thank dude