joewheaton-org / River-Styles-Workshop

River Styles Workshop Website
https://joewheaton-org.github.io/River-Styles-Workshop
GNU General Public License v3.0
0 stars 0 forks source link

Why is typora md lists indentation working, but not in GitHub sites? #6

Open joewheaton opened 7 years ago

joewheaton commented 7 years ago

@lhaycock posted this video showing how indentation works in Typora when previewing the MD, but it does not behave correctly when rendered in GitHub (see this page he refers to). If I had to guess, it might be a difference between indenting in Typora with a space or with tabs for indents? Maybe experiment with that. Looking here, it seems that the first nesting works fine in GitHub pages, but the third and beyond not so well? @philipbaileynar or @MattReimer, do you have any suggestions?

philipbaileynar commented 7 years ago
  1. @lhaycock the standard markdown is four spaces (so two indents would be 8 spaces), but there are certainly different interpretations.
  2. in Typora use the source code mode (CTRL+/) to see what's actually getting written to the text file.
  3. Avoid using tab characters.
  4. Here's the GitHub markdown syntax guide.
  5. Note that you can theme markdown in Typora and that there is a theme for GitHub. This should make things look a little more consistent with what you're seeing on GitHub.
joewheaton commented 7 years ago

Okay, I just played with editing and a few thoughts:

It seems below to work either with *:

or with -:

Don't know what to say. Maybe @philipbaileynar will have an idea?

I pushed a commit here: https://github.com/joewheaton-org/River-Styles-Workshop/commit/e9f57815fc4804c4221ab6fcc72bf1052e515155 to mannually get the spacing stuff fixed and using - instead of *.