Listing each file with respective change to support mermaid without tweaking some minified version of extra-****.js.
In superfence.py
self.config = {
'disable_indented_code_blocks': [False, "Disable indented code blocks - Default: False"],
'uml_flow': [True, "Enable flowcharts - Default: True"],
'uml_sequence': [True, "Enable sequence diagrams - Default: True"],
'mermaid': [True, "Enable mermaid diagrams - Default: True"],
'custom_fences': [