How To Make All Blog Posts Valid AMP
If You Making a New ArticleIf you create a new article with a valid template amp, please note that some features such as changing the font in the article, and coloring the text are invalid.
Also if you have uploaded and installed the image, you need to change Compose mode to HTML mode. And change the code <img> to <amp-img>.
For valid amp, you need to edit your old articles and change some code. Here's how to make it easier to edit those invalid AMP codes.
If Editing Old Articles
1. First, open the article you want to edit first.
2. Once open, select all text (ctrl + a) and click the remove formating icon in the top panel. (view image)
3. After that, you format articles such as heading, blockquote and even text that has been bold will return to normal.
<amp-img alt="alt gambar" height="650" layout="fixed" src="URL GAMBAR" width="950"></amp-img>Note:
If you have already changed the html code for the image, the image will automatically not be visible, nor will the thumbnail appear. To bring up thumbnails, add <noscript> .... </ noscript> code on basic HTML <IMG>.
6. After that, please try publishing your article. If an error occurs, please find the error code. Use the AMP Validator extension in chrome or your firefox to find out the error code..
Similarly an article on How to Make All Blog Post on blogger valid AMP automatically. So and do not forget to comment.