To regenerate the markdown file I run this command in the console:
cog -r README.md
Presumably most IDEs have q mechanism that can run that command automatically, either when a file changes or just intermittently over time.I use VS Code's markdown preview panel, which updates automatically when I manually run the "cog -r" command.