Checkboxes dont show up on public website

Hi.
I noticed that in the draft version of my site using Hugo serve,the markdown (- [ ]) checkboxes show up, but on the built version it does not.Is it something to do with the Hugo versions?
I am using netlify and GitHub
thanks.

on localhost vs on public site

netlify.toml just in case versioning is the issue:

[context.deploy-preview.environment]
  HUGO_VERSION = "0.20"

You should be running the same version in all places. The current version is v0.86.0.