Here you can find the code I use in my freecodecamp news articles.
Here is one I have in another repository:
Signal Processing and Systems in Programming – Guide for Beginners
Additionally, the images I create for my articles can also be found there.
Feel free to use them.
Here is the site I use to create the code images.