C++17 library for generating HTML, CSS and SGML-like documents. https://speedie.site/docpp
Go to file
2024-05-07 22:58:53 +02:00
.github/workflows Add CI badge. 2024-05-06 00:31:29 +02:00
cmake Initial commit 2024-05-05 23:31:42 +02:00
examples Implement support for plain text elements and sections without a tag. 2024-05-07 21:21:58 +02:00
include Add front() and back() methods for the various classes. 2024-05-07 22:58:53 +02:00
src Add front() and back() methods for the various classes. 2024-05-07 22:58:53 +02:00
tests Add front() and back() methods for the various classes. 2024-05-07 22:58:53 +02:00
.gitignore Initial commit 2024-05-05 23:31:42 +02:00
CMakeLists.txt Lower C++ standard to C++11, because currently we're 2024-05-06 01:00:54 +02:00
compile_commands.json Initial commit 2024-05-05 23:31:42 +02:00
LICENSE Initial commit 2024-05-05 23:31:42 +02:00
README.md Change the behavior of FORMATTING_PRETTY to include tabs. 2024-05-07 17:26:11 +02:00

docpp

action

Small C++ library for generating XML, HTML and CSS.

Features

  • HTML, CSS and XML document generation and deserialization
  • Sensible indentation for pretty-formatting.
  • Modern C++ API
  • No dependencies, other than the standard library
  • Windows, macOS, Linux and *BSD support
  • LGPL license

Not yet implemented

  • HTML/XML/CSS serialization (parsing from e.g. file)

Installation

To install the library, you can utilize the provided CMakeLists.txt file:

mkdir build
cd build
cmake ..
cmake --build .
cmake --install . --prefix /usr

Usage

Just include docpp.hpp in your project and link against the library. Examples can be found in the examples directory.

License

This project is licensed under the GNU Lesser General Public License v3.0 - see the LICENSE file for details.

Code of Conduct

None. Just don't blow up my house. And, don't ask me to rewrite it in Rust.