datacamp-light-wordpress icon indicating copy to clipboard operation
datacamp-light-wordpress copied to clipboard

Just want to show a little script

Open LydiaF opened this issue 7 years ago • 1 comments

Hi there,

Thank you for very much for making this plug-in! I hope the problem I have is just because I am not getting something... any help is very much appreciated :)

This is what I have in wordpress:

[datacamp_exercise lang="r"]
  [datacamp_sample_code]
    mylist = list("abc", list("def", "ghi")
    mylist[1]
    mylist[[1]]
    mylist[2]
    mylist[[2]]
  [/datacamp_sample_code]
  [datacamp_pre_exercise_code]
  [/datacamp_pre_exercise_code]
  [datacamp_solution]
  [/datacamp_solution]
  [datacamp_sct]
  [/datacamp_sct]
  [datacamp_hint]
  [/datacamp_hint]
[/datacamp_exercise]

This comes up on the post (although nothing comes up if I use <- as the assignment operator): image

This is what results after clicking run: image

LydiaF avatar Sep 21 '17 10:09 LydiaF

I think you forgot a ) at the end

mrchaosbude avatar Dec 26 '17 08:12 mrchaosbude