Cleanup of pymarkdown:

- remove unused metadata key
- add docstrings
- only allow code execution on trusted notebooks