Useful for converting a web page to Confluence markup, for adding to the wiki or a JIRA ticket.
- Java 8 or above
mvn clean install
Builds an executable jar. Note: the plan is for this jar to contain all dependencies so you can put it whereever you want in your path, but it's not working yet, so you should run it from the folder where it's built.
java -jar target/html-to-confluence-1.0.0-SNAPSHOT.jar infile.html outfile.confluence
You can also rename the jar file to something less unwieldy.
The output will be echoed to the screen as well as written to a file. If you omit the output file parameter, the output will be written to a file with the same name as the input file, with ".cf" appended to it.
Based on html-to-jira-markup by Paul Nelson Baker
This software is offered without support. Use at your own risk.