create html part 22

This commit is contained in:
Christopher Hase 2025-03-27 15:57:18 +01:00
parent 836df6c93a
commit 3f69a32734

View file

@ -134,8 +134,9 @@ function render(node: Node): string {
case "Hexagram":
//outputHTML = "<p><i>" + node.value + "</i></p>";
//node.value = node.value?.replace("</h1>", "</h1>"); //TODO: OK??
outputHTML = "<p style=\"font-size: 2rem;\">" + node.value + "</p>"; //TODO: OK??
node.value = node.value?.replace("</h1>", "</h1><b>"); //TODO: OK??
//outputHTML = "<p style=\"font-size: 2rem;\">" + node.value + "</p>"; //TODO: OK??
outputHTML = "<p>" + node.value + "</b></p>"; //TODO: OK??
outputHTML = outputHTML + render(node.child!);