Document freemarker module usage
See original GitHub issueI think the framework uses freemarker as template engine.
I wrote about freemarker dependencies
of build.gradle
.
I tried some pattern.
compile group: 'org.jetbrains.ktor', name: 'ktor-freemarker', version: '0.1.8'
and
compile 'org.jetbrains:ktor:0.1.8'
Why 0.1.8? I thought only 0.1.8 was available in the URL https://dl.bintray.com/kotlin/ktor/org/jetbrains/ktor-freemarker/0.1.8/
However, I can’t import like below
import org.jetbrains.ktor.freemarker.*
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Apache FreeMarker Manual
Apache FreeMarker Manual For Freemarker 2.3.31 · Preface · Exposing XML documents · The DOM tree · Putting the XML into the data-model...
Read more >Expressions - Apache FreeMarker Manual
When you supply values for interpolations or directive parameters you can use variables or more complex expressions.
Read more >include - Apache FreeMarker Manual
You can use it to insert another FreeMarker template file (specified by the path parameter) into your template. The output from the included ......
Read more >Who uses FreeMarker?
freemarker -cli is a command line tool that transform data files (JSON, CSV, XML, Excel, .properties, ) to output files (of any textual...
Read more >import - Apache FreeMarker Manual
Note that it's possible to automatically do the commonly used imports for all templates, with the "auto imports" setting of Configuration .
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@cy6erGn0m thank you for replying. However, I wrote below in
build.gradle
but I can’t import@shinriyo you have wrong group name
org.jetbrains
. Should beorg.jetbrains.ktor
. Also note that 0.1.8 is definitely too old: you better to use latest 0.3.2