Implement markdown source filtering. Fixes #195