JetBrains / JetBrains/markdown

Impossible to expand

Open
#158 2 comments 4 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
958
Forks
104
Avg merge
17h 30m
Merged PRs (30d)
12

Description

The `processNode` function from the `GeneratingProvider` interface requires a specific implementation of the `HtmlGenerator.HtmlGeneratingVisitor` class rather than an abstraction while `HtmlGenerator.HtmlGeneratingVisitor` implements the `RecursiveVisitor` interface.
```kotlin
interface GeneratingProvider {
fun processNode(visitor: HtmlGenerator.HtmlGeneratingVisitor, text: String, node: ASTNode)
}
```
Please replace `HtmlGenerator.HtmlGeneratingVisitor` with `RecursiveVisitor `in the parameters of the `GeneratingProvider` interface so you can expand or create your own generator! Also, make the class `HtmlGenerator` open so that it can be extended.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.