Heylogs is available as a Java library.
Its API is straightforward and has a single point of entry:
Heylogs heylogs = Heylogs.ofServiceLoader();
Document flexmarkDocument = parseFileWithFlexmark(file);
Config config = Config.builder().versioningOf("semver").build();
List<Problem> problems = heylogs.check(flexmarkDocument, config);
...Warning
This API is currently in beta and might change frequently.
<dependencies>
<dependency>
<groupId>com.github.nbbrd.heylogs</groupId>
<artifactId>heylogs-api</artifactId>
<version>_VERSION_</version>
</dependency>
<dependency>
<groupId>com.github.nbbrd.heylogs</groupId>
<artifactId>heylogs-ext-github</artifactId>
<version>_VERSION_</version>
<scope>runtime</scope>
</dependency>
...
</dependencies>