vault backup: 2024-05-16 17:20:28
This commit is contained in:
1 file changed
+7
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user