Sept. 15, 2023, 7:28 p.m. | Avelyn Hyunjeong Choi

DEV Community dev.to

GitHub Repo: https://github.com/bhavik001/TxtToHTML


Issue introduces a new functionality that enables the conversion from .md to .html. Initially, this was implemented manually instead of incorporating an existing open-source markdown parser, library, or framework, which will be utilized later in this project. Regex, .replace were mainly used in the manual conversion process between the two file formats, as demonstrated below:



  const paragraphs = inputFileContent
.replace(/^#\s(.+)$/gm, '<h1>$1</h1>') // heading 1
. …

beginners cli conversion framework html issue library markdown opensource process project regex

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

Senior Data Science Analyst- ML/DL/LLM

@ Mayo Clinic | Jacksonville, FL, United States

Machine Learning Research Scientist, Robustness and Uncertainty

@ Nuro, Inc. | Mountain View, California (HQ)