-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⬆️ Fix: bump Mermaid from 9.x to 10.x and fix error (#420)
- Loading branch information
Showing
10 changed files
with
34 additions
and
1,617 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
.mermaid { | ||
text-align: center; | ||
&[data-processed='true'] { | ||
text-align: center; | ||
} | ||
|
||
svg { | ||
max-width: 100%; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,9 +57,6 @@ libFiles: | |
# TODO update to 3.x | ||
mapboxGLCSS: [email protected]/dist/mapbox-gl.css | ||
mapboxGLJS: [email protected]/dist/mapbox-gl.js | ||
# [email protected] https://github.com/mermaid-js/mermaid | ||
# TODO bump Mermaid from 9.x to 10.x | ||
mermaidJS: [email protected]/dist/mermaid.min.js | ||
# [email protected] https://github.com/metowolf/MetingJS | ||
metingJS: [email protected]/dist/Meting.min.js | ||
# [email protected] https://github.com/fregante/object-fit-images | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,9 +57,6 @@ libFiles: | |
# TODO update to 3.x | ||
mapboxGLCSS: [email protected]/dist/mapbox-gl.css | ||
mapboxGLJS: [email protected]/dist/mapbox-gl.js | ||
# [email protected] https://github.com/mermaid-js/mermaid | ||
# TODO bump Mermaid from 9.x to 10.x | ||
mermaidJS: [email protected]/dist/mermaid.min.js | ||
# [email protected] https://github.com/metowolf/MetingJS | ||
metingJS: [email protected]/dist/Meting.min.js | ||
# [email protected] https://github.com/fregante/object-fit-images | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,6 @@ [email protected] https://github.com/instantpage/instant.page | |
[email protected] https://github.com/KaTeX/KaTeX | ||
[email protected] https://github.com/sachinchoolur/lightgallery | ||
[email protected] https://github.com/mapbox/mapbox-gl-js | ||
[email protected] https://github.com/mermaid-js/mermaid | ||
[email protected] https://github.com/metowolf/MetingJS | ||
[email protected] https://github.com/necolas/normalize.css | ||
[email protected] https://github.com/fregante/object-fit-images [archived] | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{{- $id := dict "Content" (trim (partial "function/dos2unix.html" .Inner) "\n") "Scratch" .Page.Scratch | partial "function/id.html" -}} | ||
<div class="mermaid" id="{{ $id }}"></div> | ||
{{- .Page.Scratch.SetInMap "this" "mermaid" true -}} | ||
<pre class="mermaid"> | ||
{{- .Inner | safeHTML }} | ||
</pre> | ||
{{- .Page.Store.Set "hasMermaid" true -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
{{- $id := dict "Content" (trim (partial "function/dos2unix.html" .Inner) "\n") "Scratch" .Page.Scratch | partial "function/id.html" -}} | ||
<div class="mermaid" id="{{ $id }}"></div> | ||
<pre class="mermaid"> | ||
{{- .Inner | safeHTML }} | ||
</pre> | ||
{{- .Page.Store.Set "hasMermaid" true -}} | ||
{{- /* EOF */ -}} |