File tree Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 3
3
title : OS²Product
4
4
5
5
description : The Jekyll version of the Spectral theme by HTML5 UP.
6
- # baseurl: ""
7
- # url: "http://localhost:4000"
6
+ baseurl : " "
7
+ url : " http://localhost:4000"
8
8
9
9
# Uncomment the lines below if you are deploying to GitHub Pages
10
- baseurl : " /spectral-jekyll-theme"
11
- url : " https://janhalen.github.io"
10
+ # baseurl: "/spectral-jekyll-theme"
11
+ # url: "https://janhalen.github.io"
12
12
13
13
# Homepage tiles
14
14
tiles-source : posts # accepts "posts" or "pages"
Original file line number Diff line number Diff line change
1
+ https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.min.js
2
+ < script >
3
+ document . addEventListener ( "DOMContentLoaded" , function ( ) {
4
+ const blocks = document . querySelectorAll ( "pre code.language-mermaid" ) ;
5
+ blocks . forEach ( block => {
6
+ const container = document . createElement ( "div" ) ;
7
+ container . className = "mermaid" ;
8
+ container . textContent = block . textContent ;
9
+ block . parentElement . replaceWith ( container ) ;
10
+ } ) ;
11
+ mermaid . initialize ( { startOnLoad : true } ) ;
12
+ } ) ;
13
+ </ script >
Original file line number Diff line number Diff line change 15
15
{% include section-three.html %}
16
16
{% include cta.html %}
17
17
{% include footer.html %}
18
+ {% include mermaid-init.html %}
18
19
</ body >
19
20
20
21
</ html >
You can’t perform that action at this time.
0 commit comments