Samsara Interview Question

Given a string with markdown, convert it to HTML. You can find the whole question on Leetcode.