Innokodakademija allows for markdown formatting, meaning that it's possible to format words by surrounding text with special characters. For example, to get bold text, you surround the text with double asterisks, like this **bold**.
Here is a list of the possible formatting options in Innokodakademija and how to apply them:
**bold** _italics_`inline code`~~strikethrough~~Given a string and a style character, return the newly formatted string. Style characters are single letters that represent the different types of formatting.
For the purposes of this challenge, the style characters are as follows:
"b" is for bold"i" is for italics"c" is for inline code"s" is for mdFormat("Bold", "b") ➞ "**Bold**"
mdFormat("leaning text", "i") ➞ "_leaning text_"
mdFormat("Innokodakademija", "c") ➞ "`Innokodakademija`"
mdFormat("That's a strike!", "s") ➞ "~~That's a strike!~~"
Remember to format your comments!