Skip to content

Commit

Permalink
feat: initial implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
grigoriev committed Jul 10, 2024
1 parent 0226a58 commit 408d68a
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,28 @@ mvn clean package
This plugin can be used in a maven project by adding the following to the `pom.xml`:

```xml

<build>
<plugins>
<plugin>
<groupId>ch.sbb</groupId>
<artifactId>markdown2html-maven-plugin</artifactId>
<version>${markdown2html-maven-plugin.version}</version>
<executions>
<execution>
<id>readme.md-to-about.html</id>
<phase>generate-resources</phase>
<goals>
<goal>convert</goal>
</goals>
</execution>
</executions>
<configuration>
<inputFile>${project.basedir}/README.md</inputFile>
<outputFile>${project.basedir}/README.html</outputFile>
<tokenEnvVarName>GITHUB_TOKEN</tokenEnvVarName>
</configuration>
</plugin>
...
</plugins>
</build>
```

0 comments on commit 408d68a

Please sign in to comment.