项目作者: Col-E

项目描述 :
JavaFX tool for converting source code to styled HTML
高级语言: Java
项目地址: git://github.com/Col-E/Code2HTML.git
创建时间: 2018-07-12T01:42:09Z
项目社区:https://github.com/Col-E/Code2HTML

开源协议:MIT License

下载


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: