Tabbed snippets
Library dependencies
Example of the @@dependency
directive:
- sbt
libraryDependencies += "com.typesafe.akka" %% "akka-http" % "10.0.10"
- Maven
<dependencies> <dependency> <groupId>com.typesafe.akka</groupId> <artifactId>akka-http_2.12</artifactId> <version>10.0.10</version> </dependency> </dependencies>
- Gradle
dependencies { implementation "com.typesafe.akka:akka-http_2.12:10.0.10" }
Snippet inclusion
Multiple snippets included from files:
- Favicon
-
source
Compile / paradoxMaterialTheme ~= { _.withFavicon("assets/images/favicon.png") }
- Repository
-
source
Compile / paradoxMaterialTheme ~= { _.withRepository(uri("https://github.com/sbt/sbt-paradox-material-theme")) }
- Copyright notice
-
source
Compile / paradoxMaterialTheme ~= { _.withCopyright(""" Based on <a href="https://github.com/squidfunk/mkdocs-material">MkDocs Material</a> by <a href="https://github.com/squidfunk">Martin Donath</a> """) }
- Font
-
source
Compile / paradoxMaterialTheme ~= { _.withFont("Ubuntu", "Ubuntu Mono") }
0.7.0