How do I show spacing in text objects so that learners can copy and paste the code into their own files?1320 0 1
I have a situation where I want to display code that has specific leading spacing in the code sample and I want the learner to be able to view the proper design and copy and paste it into their coding system.
Right now when I put the spacing in dominKnow it deletes and removes the extra spaces after I add the object.
Comments( 0 )
Answers ( 1 )
You can preserve text spacing and formatting by using an HTML widget wherever code blocks need to be used in dominKnow.
Here is an example