create html part 28
All checks were successful
ci / build (push) Successful in 1m6s

This commit is contained in:
Christopher Hase 2025-03-28 10:10:15 +01:00
parent 2a677c39f3
commit c099a5b41f

View file

@ -128,10 +128,10 @@ function render(node: Node): string {
return render(node.child!);
case "Hexagram":
//node.value = node.value?.replace("</h1>", "</h1><h3>");
node.value = node.value?.replace("</h1>", "</h1><div style=\"border: 1px solid black;\"><h3>");
node.value = node.value?.replace("</h1>", "</h1><div style=\"border: 1px solid gray; padding: 15px; box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);\"><h3>");
node.value = node.value?.replace("<br>", " - ");
//outputHTML = "<p>" + node.value + "/h3><</p>";
outputHTML = "<p>" + node.value + "/h3></div></p>";
//outputHTML = "<p>" + node.value + "</h3></p>";
outputHTML = "<p>" + node.value + "</h3></div></p>";
outputHTML = outputHTML + render(node.child!);
return outputHTML;