Skip to content

Litehtml HTML/CSS rendering engine with JUCE backend.

Notifications You must be signed in to change notification settings

Archie3d/juce_litehtml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JUCE litehtml

This is a JUCE module that provides integration of the litehtml HTML/CSS rendering engine with JUCE backend.

screenshot

The web pages can be loaded from network (via http:// or https://), but also locally, from a file (using file:// scheme) or JUCE application or plugin binary resources (res:// scheme).

This module also attempts to add JavaScript support on top of the litehtml using quickjs interpreter.

Litehtml offers rather limited capabilities, but it is good enough to render rich documents, which can be useful, for example, to show help pages or documentation within JUCE applications or plugins.

This project is WIP.

Compilation

This module must be used via CMake (cannot be used from Projuces because of additional targets that need to be compiled).

Add JUCE and juce_litehtml submodules to your project, and then link additional juce::juce_litehtml library on your target:

add_subdirectory(JUCE)
add_subdirectory(juce_litehtml)

target_link_libraries(${TARGET}
    PRIVATE
        juce::juce_core
        juce::juce_data_structures
        juce::juce_gui_basics

        juce::juce_litehtml

        juce::juce_recommended_config_flags
)

See the test project for an example.

About

Litehtml HTML/CSS rendering engine with JUCE backend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published