Solution: lb_markup

JavaScript·1 min read·Sep 19, 2025

Here is the commented solution for this project.

Create the script

Create a file named lb_markup.js.

$ touch lb_markup.js

Implement the markdownToHtml() function

  1. Declare a function named markdownToHtml().

    // File: lb_markup.jsfunction markdownToHtml(markdown) {  //}

    Where markdown is a string in the Markdown format.

  2. Declare a variable named html.