def METHOD_NAME(self, data, source_path=None, is_two_file=True, post=None, lang=None):
    """Compile Markdown into HTML strings."""
    if lang is None:
        lang = LocaleBorg().current_lang
    if Markdown is None:
        req_missing(['markdown'], 'build this site (compile Markdown)')
    if not is_two_file:
        _, data = self.split_metadata(data, post, lang)
    new_data, shortcodes = sc.extract_shortcodes(data)
    output, _ = self.converters[lang].convert(new_data)
    output, shortcode_deps = self.site.apply_shortcodes_uuid(output, shortcodes, filename=source_path, extra_context={'post': post})
    return output, shortcode_deps