disabled
Back To Udemy

Sign in
English (US) Deutsch Español Français (France) Italiano 日本語 한국어 Polski Português Türkçe
  • Sign in
  • English (US) Deutsch Español Français (France) Italiano 日本語 한국어 Polski Português Türkçe
Search for solutions
Student Topics
Instructor Topics
Udemy Business Topics
Read article
Combined Results
The email address associated with your Udemy account
Do these help?
What's this?
Submit a Data Access or Deletion Request
Additional Comments
No comments provided.
This email does not match the email associated with your Udemy account.
Please check that you have entered the correct email addresses.
Udemy Business
Please let us know how this article can be improved to help resolve your question or issue. Thank you for taking the time to share your feedback.
Feedback submitted here will not create a support ticket and is not directly accessed by our support team. If you require assistance, please contact Udemy Support.
Thank you. Your feedback has been recorded.
Please enter the course URL as www.udemy.com/course/course_name. Click here for help.
Please login using the email associated with your Udemy account so we can better assist you.
I am a...
Udemy Support
Help and Support
Do any of these articles answer your question?
If they do, we can close your request
I found my answer. Close my request.
I still need help.
  1. Udemy
  2. Learning Experience
  3. Course Player

How to Enter Inline Code and Code Blocks in the Q&A

If you're using Udemy to improve your programming skills, you may want to share your code using the Q&A feature in order to receive feedback or get help. This feature enables you to add syntax highlighting for code blocks and inline code, and this will make your code easier to read and understand.

The steps below will show you how.

How to Highlight Code Blocks in the Q&A

  1. Code blocks are great when you want to highlight multiple lines of code.
  2. Navigate to the Q&A box where you wish to enter your code block
  3. If you want to attach your code to a question, type your question first.  Then click, Ask a new question
  4. Enter the code block you wish to include and highlight it
  5. Click on the inline code icon in the tool bar
  6. Then click either Post Question or Add an answer
  7. Your code will be nicely highlighted

enter_inline_codes_and_code_blocks.jpgHow to Highlight Inline Code in Q&A

Inline code is great to use when you want to highlight a short snippet of code (for example: the definition of a function or the name of a variable) inside a paragraph

  1. Navigate to the Q&A box where you want to add your code 
  2. If you want to attach your code to a question, type your question first.  Then click, Ask a new question
  3. Fill in what you want to say
  4. Select the code that you want to highlight 
  5. Click on the inline code icon in the tool bar
  6. Click either Post Question or Add an answer 
  7. Your inline code should be nicely highlighted!


If you have any additional questions please contact us here. To learn more about how to use the Q&A please refer to this article.

 

Was this article helpful?
20 out of 38 found this helpful

Related articles

  • Using Code Blocks and Inline Code
  • How to Ask a Question About a Course You're Taking
  • Downloading Course Resources
  • Udemy Coupons: FAQ
  • How to Create And Use Notes (on a Browser)
Contact Us

Related articles

  • Using Code Blocks and Inline Code
  • How to Ask a Question About a Course You're Taking
  • Downloading Course Resources
  • Udemy Coupons: FAQ
  • How to Create And Use Notes (on a Browser)
Contact Us
'student','coding','Q&A','inline code','code block','ask question','enter','title:How to Enter Inline Code and Code Blocks in the Q&A',
English (US) Deutsch Español Français (France) Italiano 日本語 한국어 Polski Português Türkçe
  • Udemy Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Affiliate
  • Investors
  • Terms
  • Privacy policy
  • Sitemap
  • Accessibility statement
Udemy
© 2022 Udemy, Inc.
true