Skip to content

Instantly share code, notes, and snippets.

@MarcL
Created November 14, 2020 11:56
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Example code gist for my blog post on pretty code screenshots
function helpMe(question) {
return {
question,
response: 'Look here...',
url: 'https://marclittlemore.com/create-pretty-code-screenshots'
};
}
// Help me!
const answer = helpMe("How do I make pretty code screenshots?");
// Redirect to find out more
window.location.href = answer.url;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment