From 167037e2769ba94e2b803f810b6c9856b5c381d9 Mon Sep 17 00:00:00 2001 From: Leonid Pereverzin Date: Sun, 14 May 2023 20:33:26 +0300 Subject: [PATCH] better --- snark-document-builder/src/main/kotlin/DocumentBuilder.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/snark-document-builder/src/main/kotlin/DocumentBuilder.kt b/snark-document-builder/src/main/kotlin/DocumentBuilder.kt index 0692b0a..e462ae0 100644 --- a/snark-document-builder/src/main/kotlin/DocumentBuilder.kt +++ b/snark-document-builder/src/main/kotlin/DocumentBuilder.kt @@ -26,9 +26,8 @@ public suspend fun buildDocument(documentDirectory: Directory): String { val root: MdAstRoot = dependencyGraph.nodes[""]!!.mdAst - // return getHtml(jacksonObjectMapper().writeValueAsString(root)) + return getHtml(jacksonObjectMapper().writeValueAsString(root)) // return jacksonObjectMapper().writeValueAsString(root) - return root.toString() } public suspend fun buildDependencyGraph(root: Directory): DependencyGraph {