gradle-josm-plugin / org.openstreetmap.josm.gradle.plugin.task / MarkdownToHtml

MarkdownToHtml

open class MarkdownToHtml : SourceTask

Convert all *.md files found among the source files of this task to *.html files.

By default this is not used in the gradle-josm-plugin, but tasks of this type can be created as needed by projects using the gradle-josm-plugin.

Constructors

<init>

MarkdownToHtml()

Convert all *.md files found among the source files of this task to *.html files.

Properties

destDir

var destDir: File?

The directory where the *.html files will be created in. All files will be created directly inside the directory (not in subdirectories) using the name of the source file, replacing the ".md" extension with ".html".

Functions

convert

fun convert(): Unit