MarkdownFeatures

abstract class MarkdownFeatures(source)

List feature extensions to markdown that this plugin supports.

This block will be nested under MarkdownBlock, e.g.

kobwebx {
markdown {
features { ... }
}
}

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
@get:Input
abstract val autolink: Property<Boolean>

If true, convert URLs and email addresses into links automatically.

Link copied to clipboard
@get:Input
abstract val frontMatter: Property<Boolean>

If true, support front matter (a header YAML block at the top of your markdown file with key/value pairs).

Link copied to clipboard
@get:Input
abstract val kobwebCall: Property<Boolean>

If true, support a syntax for inserting a composable call into the final generated Kotlin source:

Link copied to clipboard
@get:Input
abstract val kobwebCallDelimiters: Property<Pair<Char, Char>>

The delimiters used to delineate code for the kobwebCall feature.

Link copied to clipboard
@get:Input
abstract val tables: Property<Boolean>

If true, support creating tables via pipe syntax.

Link copied to clipboard
@get:Input
abstract val taskList: Property<Boolean>

If true, support creating task list items via a convenient syntax:

Functions

Link copied to clipboard
fun createParser(): Parser

Create a markdown parser configured based on the currently activated features.