Lines Matching refs:a
44 // will not interfere with embedded <a href="#voila2">tags</a>.
52 The comments in `prettify.js` are authoritative but the lexer should work on a
56 It works passably on Ruby, PHP, VB, and Awk and a decent subset of Perl and
58 etc. without a language extension.
96 `src/lang-lisp.js` and submit a pull request.
101 You can specify a language by specifying the language extension along with the
114 You may also use the [HTML 5][3] convention of embedding a `<code>` element
123 Yes. Prettifying obfuscated code is like putting lipstick on a pig —
147 doesn't start at line number `1`, you can add a colon and a line number to the
162 ### How do I prevent a portion of markup from being marked as code?
164 You can use the `nocode` class to identify a span of markup that is not code:
168 int x = foo(); /* This is a comment <span class="nocode">This is not code</span>
174 For a more complete example see the [issue #22 testcase][6].
176 ### I get an error message "a is not a function" or "opt_whenDone is not a function"
178 If you are calling `prettyPrint` via an event handler, wrap it in a function.
185 wrap it in a closure like:
203 Instead of `<pre class="prettyprint ...">` you can use a comment or processing