• 
      

    Use a more modern style for code blocks in markdown text.

    Review Request #7959 — Created Feb. 12, 2016 and submitted

    Information

    Djblets
    release-0.10.x
    75bb4a8...

    Reviewers

    In our markdown style, we showed inline code in blue, and code blocks were
    indented. This wasn't great for readability, and the world has moved on. This
    change mimics the Slack style for code blocks, which has started to percolate
    out into the rest of the world (GitHub also shows code blocks with a grey
    background these days).

    While I was in here I noticed that a few things used a "pre-wrap" macro which
    wasn't defined. I've added a definition for that.

    Created a description with an inline code span, a code block with syntax
    highlighting, and a code block without. Saw that everything looked very nice.


    Description From Last Updated

    Can you remove the space while you're here?

    chipx86chipx86

    Can we call this .code-block?

    chipx86chipx86
    reviewbot
    1. Tool: PEP8 Style Checker
      Ignored Files:
          djblets/static/djblets/css/defs.less
          djblets/static/djblets/css/mixins/markdown.less
          djblets/static/djblets/css/config-forms.less
      
      
      
      Tool: Pyflakes
      Ignored Files:
          djblets/static/djblets/css/defs.less
          djblets/static/djblets/css/mixins/markdown.less
          djblets/static/djblets/css/config-forms.less
      
      
    2. 
        
    brennie
    1. Ship It!
    2. 
        
    chipx86
    1. 
        
    2. djblets/static/djblets/css/defs.less (Diff revision 1)
       
       
      Show all issues

      Can you remove the space while you're here?

    3. Show all issues

      Can we call this .code-block?

    4. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-0.10.x (f131fa8)