lib/js_dependency/report/markdown.rb in js_dependency-0.3.15 vs lib/js_dependency/report/markdown.rb in js_dependency-0.4.0
- old
+ new
@@ -14,11 +14,11 @@
@identifier = identifier || "js_dependency_report_identifier"
end
# @return [String]
def export
- markdown = <<~"MAKRDOWNTEXT"
+ markdown = <<~MAKRDOWNTEXT
## JsDependency Reports
### Orphan modules
MAKRDOWNTEXT
@@ -33,16 +33,16 @@
markdown += "### Module dependency\n\n"
if @mermaid_markdown.nil? || @mermaid_markdown.empty?
markdown += ".vue or .js or .jsx files are not changed.\n\n"
else
- markdown += <<~"MAKRDOWNTEXT"
+ markdown += <<~MAKRDOWNTEXT
```mermaid
MAKRDOWNTEXT
markdown += @mermaid_markdown.to_s
- markdown += <<~"MAKRDOWNTEXT"
+ markdown += <<~MAKRDOWNTEXT
```
MAKRDOWNTEXT
end