Skip to content

Instantly share code, notes, and snippets.

View laGameTV's full-sized avatar
👋
Hey there

Lennox laGameTV

👋
Hey there
View GitHub Profile
@laGameTV
laGameTV / function.js
Created April 24, 2022 12:25
unMarkdownIfy™
function unMarkdownIfy(text, chars) {
if (!chars) chars = ['*', '_', '~', '>', '`', '|']
else chars = chars.split('')
chars.forEach(i => {
text = text.replaceAll(i, "\\" + i)
})
console.log("Thanks for using unMarkdownIfy™ ", text)
return text
}