class RuboCop::Markdown::Preprocess

def autodetect?

If it's set to false we lint only implicitly specified Ruby blocks.
Whether to try to detect Ruby by parsing codeblock.
def autodetect?
  config["Markdown"]&.fetch("Autodetect", true)
end