μš°μ—°νžˆ json 을 이쁘게 λ³΄μ—¬μ€˜μ•Όν•  ν•„μš”μ„±μ΄ μžˆμ–΄μ„œ 이걸 jsμ—μ„œ ν• κΉŒ νŒŒμ΄μ¬μ—μ„œ ν• κΉŒ μƒκ°ν•˜λ‹€κ°€ 쒀더 μ΅μˆ™ν•œ νŒŒμ΄μ¬μ—μ„œ ν•΄λ³΄μžλŠ” 생각에 μ°Ύμ•„λ΄€λŠ”λ° κΈ°λ³Έ λΌμ΄λΈŒλŸ¬λ¦¬μ— μžˆμ„μ€„μ„ λͺ°λžλ‹€. μ‚¬μš©λ²•λ„ κ°„λ‹¨ν•œλ° print ν•˜κΈ° 전에 indet 와 depth 의 수λ₯Ό μ •ν•˜λ©΄ 되고, pprint λŠ” print λ₯Ό ν•˜λŠ” ν•¨μˆ˜μ΄κ³ , pformat 은 μ •λˆλœ λ¬Έμžμ—΄μ„ λ³€μˆ˜λ‘œ λ°˜ν™˜ν• λ•Œ μ‚¬μš©ν•˜λŠ” ν•¨μˆ˜μ΄λ‹€. dict μ΄λ‚˜ list 객체λ₯Ό λ˜μ Έμ§€κ³  indet, depth 만 μ •ν•˜λ©΄ 끝.Β 

Zig Zags, triangles, shapes, oh my! Swing by the store to check out our perfect prints. @autalking @ellamoss @nanettelepore @finderskeepersthelabel #olive&oak #prettyprints (at Mint Julep)

Code Syntax Highlighting for Tumblr Posts using Prettify

Copy and paste the following into your blog description:

<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js"></script>

Use the following <pre/> tags in any of your Tumblr posts:

<pre class="prettyprint">
    Many
    lines
    of
    code
</pre>

After you’re done your code should look beautiful like this example:

package com.schimmelmann.us.example;

class HelloWorld {
    private static final String HELLO_WORLD = "Hello World!";
    
    public static void main(String[] args) {
        System.out.println(HELLO_WORLD);
    }
}

Source: http://google-code-prettify.googlecode.com/svn/trunk/README.html

Text
Photo
Quote
Link
Chat
Audio
Video