diff --git a/examples/document/data/loremIpsum/chapter1.md b/examples/document/data/loremIpsum/chapter1.md index 255c692..c3f3596 100644 --- a/examples/document/data/loremIpsum/chapter1.md +++ b/examples/document/data/loremIpsum/chapter1.md @@ -2,7 +2,7 @@ contentType: markdown --- -Document name: ${documentName} +# ${documentName} ${documentMeta.metaValue} @@ -14,7 +14,10 @@ Curabitur hendrerit hendrerit rutrum. Nullam elementum libero a nisi viverra ali Paragraph -$ \int_a^b {f(x)} = const $ +$$ +\int_a^b {f(x)} = const +$$ + ### Section ${section(2)} diff --git a/examples/document/src/jvmMain/kotlin/main.kt b/examples/document/src/jvmMain/kotlin/main.kt index 5d326f1..f480f38 100644 --- a/examples/document/src/jvmMain/kotlin/main.kt +++ b/examples/document/src/jvmMain/kotlin/main.kt @@ -1,11 +1,8 @@ package center.sciprog.snark.documents import io.ktor.server.application.Application -import io.ktor.server.application.call import io.ktor.server.cio.CIO import io.ktor.server.engine.embeddedServer -import io.ktor.server.response.respondRedirect -import io.ktor.server.routing.get import io.ktor.server.routing.routing import kotlinx.html.ScriptCrossorigin import kotlinx.html.link