To insert a block of code in Stackoveflow every line in the block must contain four spaces. This utility will take an isolated block and insert four spaces at the beginning of each line the allow you to save the newly modified code and a separate file.
- Create a new text file.
- Copy and paste the code you would like to post on Stackoverflow.
- Save the text file.
- Invoke this utility.
- Open the newly created text file b clicking on the Prepare Stackoverflow Text menu item.
- Save the updated output to the text file of your liking.
The 32 bit application can be downloaded by clicking here.
The 64 bit application can be downloaded by clicking here.
The component documentation can be viewed by clicking here.
The source code can be accessed by clicking here.
Now open the newly formatted file select all and past into your Stackoverflow article. This is a fairly painless way to prepare a block of code for insertion into Stackoverflow.
Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.