공지
Blog 관리 History
쑤기c
2010. 5. 14. 23:18
2020.01.22 highlight.js로 변경
- 갑자기 shCore.js에서 [maximum call stack size exceeded] 오류가 자꾸 발생해서 변경함.
- 데모: https://highlightjs.org/static/demo
- style,language파일 다운로드: https://cdnjs.com/libraries/highlight.js
- https://highlightjs.org/usage > Supported Languages >[▼Reveal the full list of languages.. ]열어서 TEXT검색
- 상세강좌▶ https://www.jbfactory.net/10351
- 사용법
<pre><code class="css hljs">some code... some code... <!-- hljs 는 코드블록 스타일링 --> </code></pre>
<!-- 2020.01.22 higlightjs 적용 language https://highlightjs.org -->
<link href="./images/highlightjs-demo-gml.css" rel="stylesheet" type="text/css" >
<script src="./images/highlight.min.js">
<script src="./images/sql.min.js"> <!--sql-->
<script src="./images/css.min.js"> <!--css-->
<script src="./images/delphi.min.js"> <!--delphi9-->
<script src="./images/cs.min.js"> <!--cs,csharp-->
<script src="./images/javascript.min.js"> <!--javascript-->
<script src="./images/java.min.js"> <!-- java -->
<script src="./images/json.min.js"> <!-- json -->
<script>hljs.initHighlightingOnLoad();
2014.05.28 SyntaxHighlighter 3.0.83 설치 [http://dmobi.tistory.com/notice/4]
/*▼ Source Sample */
<pre class="brush:java; highlight: [1,7]; html-script: false; ">
public class HelloJava {
public static void main(String args[]) {
System.out.println("Hello Java!");
}
}
</pre>
/* ▼ Brush List (설치된 브러시는 highlight) */
Brush name Brush aliases File name
----------------------------------------------------------------------
ActionScript3 as3, actionscript3 shBrushAS3.js
Bash/shell bash, shell shBrushBash.js
ColdFusion cf, coldfusion shBrushColdFusion.js
C# c-sharp, csharp shBrushCSharp.js
C++ cpp, c shBrushCpp.js
CSS css shBrushCss.js
Delphi delphi, pas, pascal shBrushDelphi.js
Diff diff, patch shBrushDiff.js
Erlang erl, erlang shBrushErlang.js
Groovy groovy shBrushGroovy.js
JavaScript js, jscript, javascript shBrushJScript.js
Java java shBrushJava.js
JavaFX jfx, javafx shBrushJavaFX.js
Perl perl, pl shBrushPerl.js
PHP php shBrushPhp.js
Plain Text plain, text shBrushPlain.js
PowerShell ps, powershell shBrushPowerShell.js
Python py, python shBrushPython.js
Ruby rails, ror, ruby shBrushRuby.js
Scala scala shBrushScala.js
SQL sql shBrushSql.js
Visual Basic vb, vbnet shBrushVb.js
XML xml, xhtml, xslt, html, xhtml shBrushXml.js
2013.11.13 Google 나눔폰트 링크/적용 [http://bloggertip.com/4112]
2012.02.18 나눔고딕(본문),나눔명조(제목) 폰트 적용. [http://kazanarun.tistory.com/33]
2010.05.14 [스킨변경] Ultimate_0.91_basic
반응형