{"action":"created","issue":{"url":"https://api.github.com/repos/NEONInc/Deprecated-NEON-Template-Data-Skills/issues/32","repository_url":"https://api.github.com/repos/NEONInc/Deprecated-NEON-Template-Data-Skills","labels_url":"https://api.github.com/repos/NEONInc/Deprecated-NEON-Template-Data-Skills/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/NEONInc/Deprecated-NEON-Template-Data-Skills/issues/32/comments","events_url":"https://api.github.com/repos/NEONInc/Deprecated-NEON-Template-Data-Skills/issues/32/events","html_url":"https://github.com/NEONInc/Deprecated-NEON-Template-Data-Skills/issues/32","id":137333490,"number":32,"title":"Rendering Code in a Data Tip","user":{"login":"mjones01","id":15202683,"avatar_url":"https://avatars.githubusercontent.com/u/15202683?v=3","gravatar_id":"","url":"https://api.github.com/users/mjones01","html_url":"https://github.com/mjones01","followers_url":"https://api.github.com/users/mjones01/followers","following_url":"https://api.github.com/users/mjones01/following{/other_user}","gists_url":"https://api.github.com/users/mjones01/gists{/gist_id}","starred_url":"https://api.github.com/users/mjones01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjones01/subscriptions","organizations_url":"https://api.github.com/users/mjones01/orgs","repos_url":"https://api.github.com/users/mjones01/repos","events_url":"https://api.github.com/users/mjones01/events{/privacy}","received_events_url":"https://api.github.com/users/mjones01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-29T18:34:31Z","updated_at":"2016-03-01T19:46:46Z","closed_at":null,"body":"When the code is short, (below) works just find:\r\n\r\n<i class=\"fa fa-star\"></i> **Data Tip:** A custom function consists of a defined \r\nset of commands performed on a input object. Custom functions are particularly \r\nuseful for tasks that need to be repeated over and over in the code. A simplified \r\nsyntax for writing a custom function in R is:\r\n\t`functionName <- function(variable1, variable2){WhatYouWantDone, WhatToReturn}`\r\n{: .notice }\r\n\r\nHowever, when the code gets long it doesn't look as good: \r\n\r\n<i class=\"fa fa-star\"></i> **Data Tip:** A custom function consists of a defined \r\nset of commands performed on a input object. Custom functions are particularly \r\nuseful for tasks that need to be repeated over and over in the code. A simplified \r\nsyntax for writing a custom function in R is:\r\n`functionName <- function(variable1, variable2){ something_new <-do_something_to_variable1_and_variable2  return(something_new)}`\r\n{: .notice }\r\n\r\nHaving a actual code chunk is one possibility but it necessitates two blue boxes which looks weird.  (.md code but the tabs disappeared): \r\n\r\n<i class=\"fa fa-star\"></i> **Data Tip:** A custom function consists of a defined \r\nset of commands performed on a input object. Custom functions are particularly \r\nuseful for tasks that need to be repeated over and over in the code. A simplified \r\nsyntax for writing a custom function in R is:\r\n{: .notice }\r\n\t functionName <- function(\r\n\t\t\tvariable1, variable2){\r\n\t\t\t\tsomething_new <- do_something_to_variable1_and_variable2\r\n\t\t\t\treturn(something_new)\r\n\t\t\t\t}\r\n{: .notice }\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NEONInc/Deprecated-NEON-Template-Data-Skills/issues/comments/190871817","html_url":"https://github.com/NEONInc/Deprecated-NEON-Template-Data-Skills/issues/32#issuecomment-190871817","issue_url":"https://api.github.com/repos/NEONInc/Deprecated-NEON-Template-Data-Skills/issues/32","id":190871817,"user":{"login":"lwasser","id":7649194,"avatar_url":"https://avatars.githubusercontent.com/u/7649194?v=3","gravatar_id":"","url":"https://api.github.com/users/lwasser","html_url":"https://github.com/lwasser","followers_url":"https://api.github.com/users/lwasser/followers","following_url":"https://api.github.com/users/lwasser/following{/other_user}","gists_url":"https://api.github.com/users/lwasser/gists{/gist_id}","starred_url":"https://api.github.com/users/lwasser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwasser/subscriptions","organizations_url":"https://api.github.com/users/lwasser/orgs","repos_url":"https://api.github.com/users/lwasser/repos","events_url":"https://api.github.com/users/lwasser/events{/privacy}","received_events_url":"https://api.github.com/users/lwasser/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T19:46:46Z","updated_at":"2016-03-01T19:46:46Z","body":"move to dev? @mjones01 "}}