def _HasExplicitRuleForExtension(self, spec, extension):
    for rule in spec.get('rules', []):
      if rule['extension'] == extension:
        return True
    return False
Filter markdown and math together, and render them into HTML.
dataset/ETHPy150Open adobe/brackets-shell/gyp/pylib/gyp/msvs_emulation.py/MsvsSettings._HasExplicitRuleForExtension--crossover with--dataset/ETHPy150Open realcr/freedomlayer_website/lib/filters.py/math_mdown