pre-commit formatter
This commit is contained in:
parent
ddec81c876
commit
a1cd164e9a
117 changed files with 153 additions and 170 deletions
|
@ -74,4 +74,4 @@ html[data-theme='dark'] {
|
|||
|
||||
--svg-color: #ccc;
|
||||
--svg-state-color: #ff5858;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@ html[data-theme="light"] {
|
|||
--pre-bg-color: #eff1f2;
|
||||
--pre-border-color: #e1e5e9;
|
||||
--kbd-bg-color: #f7f7f7;
|
||||
|
||||
|
||||
--bq-color: #ccc;
|
||||
--hr-color: #ccc;
|
||||
|
||||
|
|
|
@ -888,4 +888,4 @@ ul.footer-menu>li {
|
|||
.post-pagination .pagination-item {
|
||||
max-width: 10em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?xml version="1.0" ?><svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2"/></svg>
|
||||
<?xml version="1.0" ?><svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2"/></svg>
|
||||
|
|
Before Width: | Height: | Size: 432 B After Width: | Height: | Size: 433 B |
|
@ -61,4 +61,4 @@ document.addEventListener("DOMContentLoaded", function(event) {
|
|||
// Add copy button to code blocks
|
||||
let highlightBlocks = document.getElementsByClassName('highlight');
|
||||
Array.prototype.forEach.call(highlightBlocks, addCopyButton);
|
||||
}, false);
|
||||
}, false);
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
(function(window){
|
||||
'use strict'
|
||||
|
||||
|
||||
const elementCode = '.mermaid'
|
||||
const loadMermaid = function(theme) {
|
||||
window.mermaid.initialize({theme})
|
||||
|
@ -26,7 +26,7 @@
|
|||
}
|
||||
});
|
||||
} catch (error) {
|
||||
reject(error)
|
||||
reject(error)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
@ -46,11 +46,11 @@
|
|||
}
|
||||
});
|
||||
} catch (error) {
|
||||
reject(error)
|
||||
reject(error)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
const init = ()=>{
|
||||
saveOriginalData()
|
||||
.catch( console.error )
|
||||
|
@ -66,4 +66,4 @@
|
|||
})
|
||||
}
|
||||
window.initMermaid = init
|
||||
})(window);
|
||||
})(window);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue