Forum Discussion

JCCaianiello-c1's avatar
JCCaianiello-c1
Community Member
6 years ago

Code Snippet - Learning How To

Hi team,

I would like to know more about Code Snippets. Can someone refer me to a resource that will help me learn how to use Code Snippets in my Rise courses?

/jc

  • KarlMuller's avatar
    KarlMuller
    Community Member

    The Code Snippet block is used to display code without actually executing the code.

    So if you were creating a coding course in Rise, you would use the Code Snippet block to showcase an example of what good code looks like. The "code" is treated as text.

    That's all the Code Snippet block is about.

  • Hi Sean,

    I appreciate you taking the time to share what you’d like to see in Rise 360. We currently have this logged as a feature request, so I’ll go ahead and include your voice. We’ll update this discussion if this feature makes it on our feature roadmap.

    Thanks for reaching out!

  • Is there a setting which allows me to enable a "copy" button in the code block so that the learner can copy this snippet in one click rather than having to use "ctrl+c" or "right click + copy"

  • So is there a block to enter code into Rise to create something outside of the snippet box? 

    • LeaSAgato's avatar
      LeaSAgato
      Staff

      Hi Jessie, are you looking to add a block of code to run in Rise? If so, this is not supported in Rise at the moment. The code snippet block is only intended to display code in Rise.

  • Hi Lea, I know this is an old thread. However, I would like to find out if you have code highlighting as part of paragraphs on your product roadmap? For example, if you look at how Slack does it:

  • Hi all! how can I add a link in my presentation? ie, from youtube? is that possible? thank you!

    • KarlMuller's avatar
      KarlMuller
      Community Member

      Hi Jasmine,

      Create a Multimedia Embed block.

      Edit the block and replace the default URL with the YouTube URL.