tedi2html library used in texdi and matedi

alkeon 28f12362c3 Add nested lists support 2 years ago
test 1613c0e739 Add strip escaping when converting 2 years ago
LICENSE 3a697d4727 Initial commit 5 years ago
README.md 693e5189fa OOP rewrite and nibis compatibility 2 years ago
meson.build bf6c6193f7 Better Meson support 2 years ago
tedi2html.cpp 28f12362c3 Add nested lists support 2 years ago
tedi2html.h 5b43d5a282 Date and comment 2 years ago

README.md

tedi2html

This repo only contains library code.

You can use tedi2html function with this library.

string tedi2html(string text, string header="", string footer="")


This function will convert an tedi string (text variable) to a html string.

If there is something wrong will throw an "Invalid" exception. You can read the reason and the line wich failed with two methods from Invalid exception

string reason()const
string line() const

Added library for testing. dessert check it github.com/r-lyeh-archived/dessert

Compilation

The only thing you can compile from this repo are tests.

In order to compile tedi2html library you need following software packages:

  • GCC compiler (C++ version)
  • tedi2lang (https://notabug.org/alkeon/tedi2lang)
  • To compile run:

    git clone https://notabug.org/alkeon/tedi2lang
    git clone https://notabug.org/alkeon/tedi2html
    cd tedi2html/test/
    make
    

    Execution

    To run tests:

    ./tests
    

    More information

    For additional information about the project tedi2html visit Alkeon web site:

    https://inventati.org/alkeon/