Skip to content

Instantly share code, notes, and snippets.

@therealadam
Last active September 2, 2018 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save therealadam/7e354af54bfe808807999c747b075bda to your computer and use it in GitHub Desktop.
Save therealadam/7e354af54bfe808807999c747b075bda to your computer and use it in GitHub Desktop.
A Markdown and Unfurling Saavy Text Cell
A Markdown and Unfurling Saavy Text Cell
Empty Cell*
click inside -> Edit Cell
Edit Cell
type markdown -> Edit Cell
type URL -> Edit Cell with unfurl
Edit Cell with unfurl
click save -> Populated Cell
click outside -> Populated Cell
Populated Cell
click inside -> Edit Cell
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment