vault backup: 2024-05-16 17:20:28

This commit is contained in:
Janik von Rotz committed 2024-05-16 17:20:28 +02:00
1 parent 842e11f951
commit 6e7d239297
1 file changed
+7 -1
+7 -1
View File
@@ -180,7 +180,7 @@ function renderEdge(edge) {
function renderNode(node) {
const strockWidth = 4
const fontWeight = 'bold'
const fontWeight = 'normal'
const fontFamily = 'Roboto, Oxygen, Ubuntu, Cantarell, sans-serif'
let textOffsetX = 15
@@ -198,6 +198,12 @@ function renderNode(node) {
textOffsetY = 0
}
// Format bold
if (node['text'].includes('**')) {
node['text'] = node['text'].replaceAll('**', '');
fontWeight = 'bold';
}
content = `
<style>
p {