GithubHelp home page GithubHelp logo

lvxingtu / code2html Goto Github PK

View Code? Open in Web Editor NEW

This project forked from col-e/code2html

0.0 1.0 0.0 256 KB

JavaFX tool for converting source code to styled HTML

License: MIT License

Java 89.31% CSS 3.89% JavaScript 6.80%

code2html's Introduction

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:

code2html's People

Contributors

col-e avatar geoffreyhayward avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.