Skip to content

Commit

Permalink
remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshalm committed Dec 31, 2024
1 parent c1dcf82 commit dc98eba
Showing 1 changed file with 41 additions and 1 deletion.
42 changes: 41 additions & 1 deletion io/src/test/scala/laika/directive/std/IncludeDirectiveSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import laika.format.{ HTML, Markdown }
import laika.io.api.TreeParser
import laika.io.helper.InputBuilder
import laika.io.internal.errors.ConfigException
import laika.io.model.InputTree
import laika.io.syntax.*
import laika.theme.Theme
import munit.CatsEffectSuite
Expand Down Expand Up @@ -221,4 +220,45 @@ class IncludeDirectiveSpec extends CatsEffectSuite with InputBuilder {
parseAndExtract("Text", Some(template)).assertEquals(Seq(embedTemplateResult("foo")))
}

// test("rommadomma") {
//
// val include =
// """Header 1
// |========
// |""".stripMargin
//
// val doc =
// """Title
// |=====
// |
// |@:include(inc.md)
// |
// |Header 2
// |========
// |
// |@:navigationTree {
// | entries = [
// | { target = "#", excludeRoot = true }
// | ]
// |}
// |""".stripMargin
//
// val inputs = InputTree[IO]
// .addString(doc, Root / "doc.md")
// .addString(include, Root / "inc.md")
//
// val res = Transformer
// .from(Markdown)
// .to(HTML)
// .parallel[IO]
// .withTheme(Theme.empty)
// .build
// .use { t =>
// t.fromInput(inputs).toMemory.transform
// }
//
// println(res.unsafeRunSync().allDocuments.head.content)
//
// }

}

0 comments on commit dc98eba

Please sign in to comment.