Skip to content

Instantly share code, notes, and snippets.

View fuh-Q's full-sized avatar

gdkid fuh-Q

  • Canada
View GitHub Profile
@fuh-Q
fuh-Q / markdownify.js
Created January 16, 2024 02:51
a script to take in a string input and mangle it with markdown
const bold = arg => { return `**${arg}**`;};
const italics = arg => { return `*${arg}*`;};
const strikethrough = arg => { return `~~${arg}~~`;};
const underline = arg => { return `__${arg}__`;};
const codeblockify = arg => { return `\`${arg}\``;};