For Google Docs to Substack converting tool.
Visit DocsConverter site / view source.
Previous experience on converting tool. Some Initial tests and Current Plan.
It’s using Docs to HTML Converter repo, forked from Docs to Markdown add-on (source gd2md-html), to convert Google Docs into HTML. Then use Tampermonkey with SubstackEditorHelper.user.js, to hook on Substack Editor, capture the paste event and do some converting job.
The new Docs to HTML Converter is working on my account, but still can’t figure out how to share this testing add-on to anyone who wish to test it. See this issue How to publish it for anyone who wants to test and help? for details. There is a manually setup on wiki.
Currently, you can install the original Docs to Markdown add-on instead. For any issue, reference to Troubleshooting.
Install Tampermonkey, then install SubstackEditorHelper.user.js. You can update the script manually from the Tampermonkey Dashboard’s Last Updated column, or it will update daily. You need to refresh Substack page to apply updated script.
Open MinimalTest.html in browser, select all and copy the content.
Create a Substack account. Create a new post. Paste the copied html content into content editor. You should see hyperlinks have “(replaced)” text attached, proving that this script is working. You can see F12 Development Tool’s Console output for more details.