Questions about the .html Suffix/Extension and Trailing Slash in the URL

I’d like to know if Cloudflare Pages automatically removes the .html suffix from URLs, for example, from blog/post.html to blog/post; and I also want to know if Pages automatically adds a trailing slash at the end of URLs. If not, how can I add a trailing slash at the end of the URL? Note: I prefer not to use the method of creating subfolders with an index.html file for each post. Does anyone have experience with this configuration in Cloudflare Pages and could share how to do it? Thanks in advance!