$(function() {
alert('I am using Prettify as Syntax Highlighter');
});
Testando o Prettify Syntax Highlighter com linhas$(function() {
alert('I am using Prettify as Syntax Highlighter');
});
Testando o Prettify Syntax Highlighter
<html>
<head>
<title>write example</title>
<script type="text/javascript">
function newContent() {
alert("load new content");
document.open();
document.write("<h1>Out with the old - in with the new!</h1>");
document.close();
}
</script>
</head>
<body onload="newContent();">
<p>Some original document content.</p>
</body>
</html>
Testando o Prettify Syntax Highlighter
<html>
<head>
<title>write example</title>
<script type="text/javascript">
function newContent() {
alert("load new content");
document.open();
document.write("<h1>Out with the old - in with the new!</h1>");
document.close();
}
</script>
</head>
<body onload="newContent();">
<p>Some original document content.</p>
</body>
</html>
