The best alternatives to Code.gov are HackMD, Code Pad, and CodeShare.io. If these 3 options don't work for you, we've listed a few more alternatives below.
What do you think of Code.gov?
Sigma - See the Next Generation of Analytics— AI, Data Apps, Python - Attend the launch!