From bf1ca09a5ecc404390d86335cf0128c86ae1f7dd Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Sat, 30 Nov 2024 12:25:50 +0300 Subject: [PATCH] Replace NPM with SPC in magprog. Remove BMK pages --- examples/document/data/loremIpsum/chapter1.md | 7 +++++-- examples/document/src/jvmMain/kotlin/main.kt | 3 --- 2 files changed, 5 insertions(+), 5 deletions(-) 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