Blogger 블로그에서 SyntaxHighlighter를 사용하고 있는데 뭔가 제대로 작동하지 않습니다. 모든 코드 예제에서 SyntaxHighlighter는 어떤 이유로 새로운 줄을 많이 삽입했습니다. SyntaxHighlighter 새 줄을 삽입하고 잘못된 번호 매기기
내가 SyntaxHighlighter를 포함하는 내 </head>
태그 위에이 스크립트를 사용하고 있습니다 : 또한, 잘못 상황의 스크린 샷은 수 여기에 9
후, 행의 수를되어 표시
<link href='http://alexgorbatchev.com/pub/sh/current/styles/shCore.css' rel='stylesheet' type='text/css'/>
<link href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css' rel='stylesheet' type='text/css'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJScript.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushXml.js' type='text/javascript'/>
<script language='javascript' type='text/javascript'>
SyntaxHighlighter.config.bloggerMode = true;
SyntaxHighlighter.all();
</script>
SyntaxHighlighter를 수정하는 방법은 무엇입니까?
그리고 단지 참조
가 여기 내 블로그에서 소스입니다 : 이것은 최근의 변화에 의해 발생하는 문제가 크롬 빌드입니다<pre class="brush:javascript">
var start = function()
{
var game = new Game(); //The game should now initialize.
//This will:
//Get the canvas.
//Create the renderer.
//Create the scene.
//Create the camera.
//Create the input object.
game.begin(); //Hand over all the control to the game logic.
//This will:
//Begin rendering.
//Begin listening for input.
//Begin updating the game.
}
</pre>
위대한, 그게 내 문제를 해결! – corazza
도와 줘서 기쁩니다! :) – Kelvin