Code Monkey home page Code Monkey logo

markdown-styleguide's Issues

Fix unordered list marker.

How about fixing the list markers?

My preferred choice are hyphens - because:

  • asterisks are already used for other functions: italics and boldface
  • I am yet to see someone using +

Use 4 spaces only for nested list items.

What is the rationale for the 2 space indent on every level?

I propose 4 indents on everything except first line style such as:

Par.

- very vey very
    very long l11

- l12
    - 21
    - 22
        - 31
        - 32

Rationale:

  • multiple paragraphs on a list item look nicer because new pars must be indented by 4 spaces.

    Looks better:

    - l1
        - l2 par 1 line 1
            par 1 line 2
    
            par2 line 1 ALIGNED 
    

    Looks worse:

      - l1
        - l2 par 1 line 1
          par 1 line 2
    
            par2 line 1 NOT ALIGNED
    
  • easier for humans to remember: always use 4 spaces on lists and code blocks.

  • more common based on my subjective experience

how should hr's be written?

There's a whole bunch of styles for this, so it's probably worth defining one in the styleguide:

***
* * * * *
-------------------------
_ _ _ _ _

I'm pretty sure that a line of hyphens is the most common, but it's usually a random number of hyphens. Maybe we should define it as exactly 80 so it lines up with the wrap-guide? Or should it be something shorter like 40, 20, or 10? We could go as low as 3, but then it wouldn't look much like a horizontal rule.

Thoughts?

Subtitles?

Hello!

Is there a recommended standardization for subtitles? I've seen a few in the wild, mostly these two:

# Title
## Subtitle

### Header

Body
# Title
*Subtitle*

## Header

Body

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.