1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-08 18:15:46 +01:00

Fix some doc bugs.

This commit is contained in:
Kris Maglione
2010-10-16 23:13:37 -04:00
parent 7120933e66
commit e8caf78170

View File

@@ -172,7 +172,7 @@
<p>See also <t>ex-scripts</t> below.</p>
<code><ex>:js</ex> &lt;&lt;<em>EOF</em>
<hl key="Object">var</hl> hello = <hl key="Key">function</hl> () {
<kwd><hl key="Object">var</hl></kwd> hello = <kwd>function</kwd> () {
alert(<str>Hello world</str>);
}
<em>EOF</em></code>
@@ -245,24 +245,24 @@
definitions span multiple lines.
</p>
<code><ex>:command!</ex> <em>foo</em>
<code><ex>:command!</ex> <str delim="">foo</str>
\ <em>-description</em> <str>A command that frobs bars</str>
\ <ex>:javascript</ex> frob(content.bar)</code>
<code><ex>:style</ex> <em>-name</em> <str>foo</str>
<code><ex>:style</ex> <em>-name</em> <str delim="'">foo</str>
\ <str delim="'">foobar.com</str>
\ p:first-line { <em>font-variant:</em> <str delim="">small-caps</str>; }
\ div#side-bar > :first-child { <em>display</em>: <str delim="">none</str>; }</code>
\ p<str delim="">:first-line</str> { <em>font-variant</em>: <str delim="">small-caps</str>; }
\ div<em>#side-bar</em> > <str delim="">:first-child</str> { <em>display</em>: <str delim="">none</str>; }</code>
<code><ex>:command</ex> <em>do-some-stuff</em>
\ <em>-description</em> <str>A command does some stuff in JavaScript</str>
<code><ex>:command</ex> <str delim="">do-some-stuff</str>
\ <em>-description</em> <str>A command which does some stuff in JavaScript</str>
\ <ex>:javascript</ex> &lt;&lt;<em>EOF</em>
\ window.do(<str>some</str>);
\ window.do(<str>stuff</str>);
\<em>EOF</em></code>
<code><ex>:command</ex> <em>do-some-stuff</em>
\ <em>-description</em> <str>A command does some stuff in JavaScript</str>
<code><ex>:command</ex> <str delim="">do-some-stuff</str>
\ <em>-description</em> <str>A command which does some stuff in JavaScript</str>
\ <ex>:javascript</ex>
\\ window.do(<str>some</str>);
\\ window.do(<str>stuff</str>);</code>