Precode-sample3

View Source

Precode

Package version/links:

pmwiki-2.3.13
Skin - notebook-nt
precode-2.2.1-20230213

Sample1 Sample1 | Sample2 Sample2 | Sample3 Sample3 | Sample4 Sample4 - advanced linenum | Sample5 Examples showing line highlighting and presenter | Sample6 Examples showing line highlighting + presenter + sytaxhighliting

Precode Sample3

Line number begin

<!DOCTYPE html>
<head>
  <title>testing</title>
  <meta charset="utf-8">
<body>
<div onclick="javascript:alert('aaaa');">clickme</div>
<div onclick="alert('aaaa');">clickme2</div>

Beta Errors

<!DOCTYPE html>
<head>
  <title>testing</title>
  <meta charset="utf-8">
<body>
<div onclick="javascript:alert('aaaa');">clickme</div>
<div onclick="alert('aaaa');">clickme2</div>

RC1 release - Reset Line number

<!DOCTYPE html>
<head>
  <title>testing</title>
  <meta charset="utf-8">
  <link rel="stylesheet" title="Default" href="styles/default.css">
</head>
<body>
<div onclick="javascript:alert('aaaa');">clickme</div>
<div onclick="alert('aaaa');">clickme2</div>

Reset line number and linestyle

pre code {
  display: block; padding: 0.5em;
  background: white; color: black;
}

pre .string,
pre .tag .value,
pre .filter .argument,
pre .apache .tag,
pre .apache .cbracket,
pre .nginx .built_in,
pre .tex .formula {
  color: #bbb;
}

RC1 release - Line number continue - reset linestyle

pre code {
  display: block; padding: 0.5em;
  background: white; color: black;
}

pre .string,
pre .tag .value,
pre .filter .argument,
pre .addition,
pre .change,
pre .apache .tag,
pre .apache .cbracket,
pre .nginx .built_in,
pre .tex .formula {
  color: #bbb;
}
Edit - History - Print - Recent Changes - Search
Page last modified on November 08, 2022, at 10:58 AM