Skip to content

Instantly share code, notes, and snippets.

@blech75
Created December 20, 2011 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save blech75/1503089 to your computer and use it in GitHub Desktop.
Save blech75/1503089 to your computer and use it in GitHub Desktop.
markdown and lists

i want to be able to do this:


# grocery list

* apples
* bananas
* strawberries
* blueberries

* cereal
* granola

* yogurt
* cheese

* apple cider
* orange juice
* milk

but it turns out like this:


grocery list

  • apples

  • bananas

  • strawberries

  • blueberries

  • cereal

  • granola

  • yogurt

  • cheese

  • apple cider

  • orange juice

  • milk


WTF? completely useless.


update: @bitprohphet suggests nesting. let's see...


# grocery list

* fruit
  * apples
  * bananas
  * strawberries
  * blueberries
* grocery
  * cereal
  * granola
* dairy
  * yogurt
  * cheese
* drinks
  * apple cider
  * orange juice
  * milk

which yields this:


grocery list

  • fruit
    • apples
    • bananas
    • strawberries
    • blueberries
  • grocery
    • cereal
    • granola
  • dairy
    • yogurt
    • cheese
  • drinks
    • apple cider
    • orange juice
    • milk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment