mermaidEscape() — graph2md Function Reference
Architecture documentation for the mermaidEscape() function in main.go from the graph2md codebase.
Entity Profile
Dependency Diagram
graph TD d4851cb9_471c_2bc6_f3c3_bd63d414e9bf["mermaidEscape()"] 80fa005d_7e3e_f056_f8f8_f520be5cd3e1["main.go"] d4851cb9_471c_2bc6_f3c3_bd63d414e9bf -->|defined in| 80fa005d_7e3e_f056_f8f8_f520be5cd3e1 style d4851cb9_471c_2bc6_f3c3_bd63d414e9bf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
main.go lines 1640–1646
func mermaidEscape(s string) string {
// Escape special chars for Mermaid node labels
s = strings.ReplaceAll(s, `"`, "#quot;")
s = strings.ReplaceAll(s, `<`, "#lt;")
s = strings.ReplaceAll(s, `>`, "#gt;")
return s
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does mermaidEscape() do?
mermaidEscape() is a function in the graph2md codebase, defined in main.go.
Where is mermaidEscape() defined?
mermaidEscape() is defined in main.go at line 1640.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free