Extract checks for acceptable custom markdown processors to method.

We should probably write more about what it does and how it works in a TomDoc block above.
@envygeeks, want to give that a shot?