tedi2md library used in texdi

alkeon 543a121c25 Add tests for tedi2lang changes hace 2 años
test 543a121c25 Add tests for tedi2lang changes hace 2 años
.gitignore db333f839c Initial commit hace 6 años
LICENSE db333f839c Initial commit hace 6 años
README.md dee183e67b OOP rewrite and nibis compatibility hace 2 años
meson.build d0f4cc94c9 Better Meson support hace 2 años
tedi2md.cpp a4d16730b2 Delete executable and add comments hace 2 años
tedi2md.h a4d16730b2 Delete executable and add comments hace 2 años

README.md

tedi2md

This repo only contains library code.

You can use tedi2md function with this library.

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


This function will convert an tedi string (text variable) to a markdown 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 tedi2md 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/tedi2md
    cd tedi2md/test/
    make
    

    Execution

    To run tests:

    ./tests
    

    More information

    For additional information about the project tedi2md visit alkeon web site:

    https://inventati.org/alkeon/