This is a simplified translator from Markdown to HTML, this one does not translate all the elements it's just to learn lex and yacc.
This project was made for a 3rd year license study project.
- Translates titles with tags of different levels.
- Translates unnumbered list tags.
- Translates bold and italic text tags.
- Translates paragraph tags.
The project was made in C with Lex and Yacc.
- You need install Lex and Yacc.
apt-get install flex
apt-get install bison
- Clone the repo.
git clone https://github.com/LilianLeVrai/translator_Markdown_to_Html.git
- Compile project with Makefile.
make
- Run by specifying an input file and an output file.
./analyzer < inputFile.md > outputFile.html
The project being intended for a teacher, the output contains other information than the html such as the lexical units detected, the html result is at the end. To test the functionalities you have the input file 'test.md'.
- Lilian M.
- Nicolas C.