Skip to content

JavaFX tool for converting source code to styled HTML

License

Notifications You must be signed in to change notification settings

Col-E/Code2HTML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code2HTML

A JavaFX app for converting user specified languages to HTML. Paste source code into the top-left panel and the HTML will show in the top-right, with a preview at the bottom. The CSS and optional JS are available in the other tabs in the top-right. Updating the CSS and JS will display live updates in the preview area.

Top-Left tabs:

  • HTML: The HTML output.
  • CSS: The CSS code that styles the HTML span tags.
  • JS: Optional JS for manual inclusion of collapse-sections.
  • Patterns: List of Regex groups for the currently loaded language.

While the JS is not necessary it allows you to make portions of the code collapseable.

Download

See the releases page for the latest build. Or compile with maven via mvn package

Note: Builds are based off of Java 8. Running on later versions will not work, please see the update guide for more information.

Screenshots

  • Main View
  • Config View

Libraries used: