imports

abstract val imports: ListProperty<String>(source)

A list of imports that should be added to the top of every generated markdown file.

If an import starts with a ".", it will be prepended with the current site's root package.

Finally, you should NOT use the "import" keyword here.

For example:

markdown {
imports.add(".components.widgets.*")
}

will add import com.mysite.components.widgets.* to the top of every generated markdown file.