{"id":19984125,"url":"https://github.com/arya2004/markdown_transpiler","last_synced_at":"2026-03-03T23:03:08.872Z","repository":{"id":258827269,"uuid":"875738861","full_name":"arya2004/markdown_transpiler","owner":"arya2004","description":"Markdown to HTML using Lex and Yacc","archived":false,"fork":false,"pushed_at":"2024-11-29T08:30:55.000Z","size":21,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T20:17:17.684Z","etag":null,"topics":["hacktoberfest","html","lex","makrdown","yacc"],"latest_commit_sha":null,"homepage":"","language":"Yacc","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arya2004.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-20T18:09:27.000Z","updated_at":"2025-01-04T02:48:58.000Z","dependencies_parsed_at":"2024-10-22T00:23:05.200Z","dependency_job_id":null,"html_url":"https://github.com/arya2004/markdown_transpiler","commit_stats":null,"previous_names":["arya2004/markdown_transpiler"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arya2004/markdown_transpiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arya2004%2Fmarkdown_transpiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arya2004%2Fmarkdown_transpiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arya2004%2Fmarkdown_transpiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arya2004%2Fmarkdown_transpiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arya2004","download_url":"https://codeload.github.com/arya2004/markdown_transpiler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arya2004%2Fmarkdown_transpiler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30064796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","html","lex","makrdown","yacc"],"created_at":"2024-11-13T04:17:36.786Z","updated_at":"2026-03-03T23:03:08.858Z","avatar_url":"https://github.com/arya2004.png","language":"Yacc","funding_links":[],"categories":[],"sub_categories":[],"readme":"The `markdown-transpiler` is a simple tool that takes a Markdown file as input and generates an HTML file as output. It utilizes **Lex** and **Yacc** to parse the Markdown syntax and a C++ implementation to handle the logic of translation. This project demonstrates a basic transpiler design that can be extended to support more advanced Markdown features.\n\n### Project Structure\n\n- **src/**: This directory contains the core logic of the transpiler, including:\n  - Lex and Yacc files that define the grammar and token rules for parsing Markdown.\n  - C++ source files that implement the Markdown to HTML conversion.\n  \n### Prerequisites\n\nTo compile and run the project, you will need:\n- CMake (for managing the build process)\n- A C++ compiler (e.g., g++)\n- Flex (Lex tool) and Bison (Yacc tool) installed\n\n### How to Build the Project\n\n1. Clone the repository and navigate to the project root directory.\n\n2. Create a build directory inside the project root:\n   ```bash\n   mkdir build\n   cd build\n   ```\n\n3. Generate the build files using `cmake`:\n   ```bash\n   cmake ..\n   ```\n\n4. Compile the project using `make`:\n   ```bash\n   make\n   ```\n\n### How to Run the Code\n\nOnce the project is successfully built, you can run the transpiler with the following command:\n\n```bash\n./markdown2html \u003cinput.md\u003e \u003coutput.html\u003e\n```\n\nFor example:\n\n```bash\n./markdown2html example.md example.html\n```\n\nThis will take the `example.md` Markdown file and generate the corresponding `example.html` HTML file.\n\n### Customizing and Extending\n\nThe transpiler can be easily extended to support additional Markdown features by updating the Lex and Yacc files located in the `src/` directory. You can modify the grammar rules to recognize new Markdown syntax and map it to HTML.\n\n### Contributions\n\nContributions are welcome! Please feel free to fork the repository, make changes, and submit pull requests.\n\n### License\n\nThis project is open source and available under the [MIT License](LICENSE).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farya2004%2Fmarkdown_transpiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farya2004%2Fmarkdown_transpiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farya2004%2Fmarkdown_transpiler/lists"}