def action()

in migration/src/markup/advanced.py [0:0]


    def action(self, tokens: ParseResults) -> str:
        lang = tokens.lang or "Java"
        text = tokens.text.strip("\n")
        # insert '\n' before and after the code block.
        return f"\n```{lang}\n{text}\n```\n"