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

This commit is contained in:
Christopher Hase 2025-03-28 10:13:47 +01:00
parent c099a5b41f
commit 48634c0481

View file

@ -128,7 +128,7 @@ 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 gray; padding: 15px; box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);\"><h3>");
node.value = node.value?.replace("</h1>", "</h1><div style=\"border: 1px solid gray; padding: 15px; width: 300px; text-align: center; 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>";