Loading...
 
Skip to main content

Troubleshooting Markdown

Learning task 3

The two markdown texts below contain several errors. Here are some common pitfalls to watch out for:

  • Space missing after heading codes (#) before the text
  • Spaces before formatting codes
  • Unclosed bold (**) or italic (*) formatting codes
  • Unintended format codes
  • Inconsistent bullets

How would you resolve the errors in these markdown texts?

Text 1: from a genAI coure

##In defense of genAI
AI won't ** replace humans, 
- but humans who use AI 
* will **replace humans** that ***don't.
*Fei Fei Li, Stanford Professor, AI researcher

Desired result

In defense of genAI

AI won't replace humans,

  • but humans who use AI
  • will replace humans that don't.
    • Fei Fei Li, Stanford Professor, AI researcher

Text 2: (From ChatGPT)

##Embrace the Journey
  In life, the road to success is never straightforward. **Every challenge you face is a stepping stone to greatness, and with persistence, even the  steepest hills can be overcome.

   -Embrace change as an essential part of growth.
   *Believe in your inner strength and resilience.
   - Learn from every mistake, for each error teaches a lesson.
   *Strive for progress, not perfection.

> "It is not the mountain we conquer but ourselves." - Sir Edmund Hillary

Remember: 
**Hope** and *determination are the fuels that keep our dreams alive.
Without them, the journey becomes a struggle.

Let us commit to:
1. Cultivating a positive mindset.
2. Supporting one another through life's challenges.
3. Celebrating our small victories along the way.

Take a moment to reflect on your own journey, identify where you have grown, and envision the path ahead.

`This line looks like a code snippet, but it might not be intended that way.


What other errors did you see in this text?

Reflect: What challenges did you encounter?

==Errors: ==

  1. space before ** > not bolded,
  2. no space added after ## > so not a heading,
  3. wrong level heading (too many #)
  4. mixture of * and - for bullets > uneven spacing in bullet list
  5. missing * for bold or italic
  6. Any others??

Contributors to this page: dhigby .
Page last modified on Monday March 17, 2025 19:18:13 GMT-0000 by dhigby.