소스코드 입력시 자꾸 발생하는 오류

  • Unknown's avatar

    안녕하세요,

    글을 쓰다가 소스코드를 쓸 일이 있어서 [code][/code]를 쓰는데..쓰고 나면 자꾸 ‘<‘부호를 ‘<‘로 자동으로 바꿔놓습니다.

    예를 들어,

    [code language ='r']
    tb2 <- tb %<% gather(column, cases, -iso2, -year, na.rm=TRUE)
    [/code]

    라고 쓰면,

    [code language ='r']
    tb2 <- tb %<% gather(column, cases, -iso2, -year, na.rm=TRUE)
    [/code]

    라고 바뀌네요.

    어떻게 해야 하나요?

    The blog I need help with is: (visible only to logged in users)

  • Hi there,

    Google translate translates your text to the following:

    Good morning,
    
    I wrote [code] [/ code] when I wrote the article and wrote the source code. When I write, it automatically changes the '<' sign to '<'.
    
    For example,
    
    [code language = 'r']
    tb2 <- tb% <% gather (column, cases, -iso2, -year, na.rm = TRUE)
    [/ code]
    
    If you write,
    
    [code language = 'r']
    tb2 <- tb% <% gather (column, cases, -iso2, -year, na.rm = TRUE)
    [/ code]
    
    I changed it.
    
    What should I do?

    It may help to put the code in your question in code tags to make sure that it is posting in the correct format here in the forum.

    Having said that, if you've followed everything in the 'Posting Source Code' guide and it is still not formatting correctly for some reason, you could instead add the snippet as a Gist (see: https://en.support.wordpress.com/gist/).

    I hope this helps.

  • The topic ‘소스코드 입력시 자꾸 발생하는 오류’ is closed to new replies.