Skip to content

mriffey/WPClean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

WP Clean removes the Gutenberg style comments from the text version of a WordPress blog post.

I wrote this because my blog uses Gutenberg, but the newspaper that republishes my posts uses a non-Gutenberg-enabled Wordpress. I got tired of editing these things out by hand.

This script uses pyperclip, a Python module that makes it easy to use the clipboard. You can get pyperclip at https://pypi.org/project/pyperclip/

To use this: Copy the text version of your post to the clipboard by selecting it (Ctrl-A on Windows) and then copying it (Ctrl-C on Windows). Run the script. The text will be cleaned of Gutenberg-related comments and will pasted back to the clipboard.

MIT License. Enjoy.

About

Python script that removes the various Wordpress Gutenberg comments from the text version of your WP blog posts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages