Hard
Markdown Links to HTML
Read a line of Markdown text. Convert every link
[text](url) to <a href="url">text</a>, bold **text** to <b>text</b> and inline code `code` to <code>code</code>, using re.sub with groups. Do links first, then bold, then code.Input
One line.
Output
One line.
Sample 1
Input
See [LearnPy](https://learnpyhub.vercel.app) for **free** lessons
Output
See <a href="https://learnpyhub.vercel.app">LearnPy</a> for <b>free</b> lessons
Sample 2
Input
Run `print()` now
Output
Run <code>print()</code> now
Output appears here