Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.82 KB

File metadata and controls

54 lines (40 loc) · 1.82 KB

Java Hypertext Preprocessor Documentation

Welcome to the Java Hypertext Preprocessor (JHP) documentation!

Table of Contents

Getting Started

Core Concepts

Configuration & Advanced

Project Information

Quick Links

  • GitHub Repository: java-hypertext-preprocessor
  • Issue Tracker: Report bugs and request features
  • Discussions: Ask questions and share ideas

Quick Example

Settings settings = Settings.builder()
    .base("/path/to/templates")
    .build();
FunctionLibrary lib = new FunctionLibrary();
JhpEngine engine = new JhpEngine(settings, lib);

Context ctx = new Context();
ctx.add("name", "World");

String output = engine.render("hello.jhp", ctx);

Need Help?