html이나 php 소스를 글 내에서 그대로 출력하는 방법 – 한국워드프레스사용자모임 https://kopress.kr/topic/html%ec%9d%b4%eb%82%98-php-%ec%86%8c%ec%8a%a4%eb%a5%bc-%ea%b8%80-%eb%82%b4%ec%97%90%ec%84%9c-%ea%b7%b8%eb%8c%80%eb%a1%9c-%ec%b6%9c%eb%a0%a5%ed%95%98%eb%8a%94-%eb%b0%a9%eb%b2%95/feed/ Sat, 18 May 2024 16:14:48 +0000 https://bbpress.org/?v=2.6.9 ko-KR https://kopress.kr/topic/html%ec%9d%b4%eb%82%98-php-%ec%86%8c%ec%8a%a4%eb%a5%bc-%ea%b8%80-%eb%82%b4%ec%97%90%ec%84%9c-%ea%b7%b8%eb%8c%80%eb%a1%9c-%ec%b6%9c%eb%a0%a5%ed%95%98%eb%8a%94-%eb%b0%a9%eb%b2%95/#post-2599 <![CDATA[html이나 php 소스를 글 내에서 그대로 출력하는 방법]]> https://kopress.kr/topic/html%ec%9d%b4%eb%82%98-php-%ec%86%8c%ec%8a%a4%eb%a5%bc-%ea%b8%80-%eb%82%b4%ec%97%90%ec%84%9c-%ea%b7%b8%eb%8c%80%eb%a1%9c-%ec%b6%9c%eb%a0%a5%ed%95%98%eb%8a%94-%eb%b0%a9%eb%b2%95/#post-2599 Fri, 16 Mar 2007 18:21:02 +0000 플러그인을 사용하지 않고 표현하려면 HTML 코드들을 변환해서 적으시면 됩니다.

예를 들면… < 는 &lt; 로 > 는 &gt; & 는 &amp; … 이런식으로 말이죠…

아마도… 간단한 플러그인을 사용하시는게 편하실 듯 합니다. Code highlight 기능 없이 단순히 코드 변환만 해 주는 preserve-code-formatting 플러그인도 있습니다.

]]>
https://kopress.kr/topic/html%ec%9d%b4%eb%82%98-php-%ec%86%8c%ec%8a%a4%eb%a5%bc-%ea%b8%80-%eb%82%b4%ec%97%90%ec%84%9c-%ea%b7%b8%eb%8c%80%eb%a1%9c-%ec%b6%9c%eb%a0%a5%ed%95%98%eb%8a%94-%eb%b0%a9%eb%b2%95/#post-2600 <![CDATA[Reply To: html이나 php 소스를 글 내에서 그대로 출력하는 방법]]> https://kopress.kr/topic/html%ec%9d%b4%eb%82%98-php-%ec%86%8c%ec%8a%a4%eb%a5%bc-%ea%b8%80-%eb%82%b4%ec%97%90%ec%84%9c-%ea%b7%b8%eb%8c%80%eb%a1%9c-%ec%b6%9c%eb%a0%a5%ed%95%98%eb%8a%94-%eb%b0%a9%eb%b2%95/#post-2600 Fri, 16 Mar 2007 18:21:02 +0000 글 중에 소스를 출력해야 하는 부분이 있습니다.

그런데 자꾸 그 소스 부분이 해석되면서 엉뚱한 출력 화면이 나옵니다.

<xmp></xmp>나 <pre></pre> 로 해도 만족스럽게 나오지 않습니다.

플러그인을 사용하지 않고, 출력하는 방법이 없을까요?

]]>
https://kopress.kr/topic/html%ec%9d%b4%eb%82%98-php-%ec%86%8c%ec%8a%a4%eb%a5%bc-%ea%b8%80-%eb%82%b4%ec%97%90%ec%84%9c-%ea%b7%b8%eb%8c%80%eb%a1%9c-%ec%b6%9c%eb%a0%a5%ed%95%98%eb%8a%94-%eb%b0%a9%eb%b2%95/#post-2601 <![CDATA[Reply To: html이나 php 소스를 글 내에서 그대로 출력하는 방법]]> https://kopress.kr/topic/html%ec%9d%b4%eb%82%98-php-%ec%86%8c%ec%8a%a4%eb%a5%bc-%ea%b8%80-%eb%82%b4%ec%97%90%ec%84%9c-%ea%b7%b8%eb%8c%80%eb%a1%9c-%ec%b6%9c%eb%a0%a5%ed%95%98%eb%8a%94-%eb%b0%a9%eb%b2%95/#post-2601 Fri, 16 Mar 2007 18:21:02 +0000 글 중에 소스를 출력해야 하는 부분이 있습니다.

그런데 자꾸 그 소스 부분이 해석되면서 엉뚱한 출력 화면이 나옵니다.

<xmp></xmp>나 <pre></pre> 로 해도 만족스럽게 나오지 않습니다.

플러그인을 사용하지 않고, 출력하는 방법이 없을까요?

]]>