Markdown to Slack-markdown converter for java.
Gradle:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.AlexPl292:mark-down-to-slack:1.1.2'
}
Or visit jitpack to find out other ways.
import dev.feedforward.markdownto.DownParser;
public static void main() {
String markdown = "# Header";
String slackMarkdown = new DownParser(input).toSlack().toString();
System.out.println(slackMarkdown);
}