mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-02 08:23:32 +02:00
Fix some doc bugs.
This commit is contained in:
@@ -172,7 +172,7 @@
|
|||||||
<p>See also <t>ex-scripts</t> below.</p>
|
<p>See also <t>ex-scripts</t> below.</p>
|
||||||
|
|
||||||
<code><ex>:js</ex> <<<em>EOF</em>
|
<code><ex>:js</ex> <<<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>);
|
alert(<str>Hello world</str>);
|
||||||
}
|
}
|
||||||
<em>EOF</em></code>
|
<em>EOF</em></code>
|
||||||
@@ -245,24 +245,24 @@
|
|||||||
definitions span multiple lines.
|
definitions span multiple lines.
|
||||||
</p>
|
</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>
|
\ <em>-description</em> <str>A command that frobs bars</str>
|
||||||
\ <ex>:javascript</ex> frob(content.bar)</code>
|
\ <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>
|
\ <str delim="'">foobar.com</str>
|
||||||
\ p:first-line { <em>font-variant:</em> <str delim="">small-caps</str>; }
|
\ p<str delim="">:first-line</str> { <em>font-variant</em>: <str delim="">small-caps</str>; }
|
||||||
\ div#side-bar > :first-child { <em>display</em>: <str delim="">none</str>; }</code>
|
\ 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>
|
<code><ex>:command</ex> <str delim="">do-some-stuff</str>
|
||||||
\ <em>-description</em> <str>A command does some stuff in JavaScript</str>
|
\ <em>-description</em> <str>A command which does some stuff in JavaScript</str>
|
||||||
\ <ex>:javascript</ex> <<<em>EOF</em>
|
\ <ex>:javascript</ex> <<<em>EOF</em>
|
||||||
\ window.do(<str>some</str>);
|
\ window.do(<str>some</str>);
|
||||||
\ window.do(<str>stuff</str>);
|
\ window.do(<str>stuff</str>);
|
||||||
\<em>EOF</em></code>
|
\<em>EOF</em></code>
|
||||||
|
|
||||||
<code><ex>:command</ex> <em>do-some-stuff</em>
|
<code><ex>:command</ex> <str delim="">do-some-stuff</str>
|
||||||
\ <em>-description</em> <str>A command does some stuff in JavaScript</str>
|
\ <em>-description</em> <str>A command which does some stuff in JavaScript</str>
|
||||||
\ <ex>:javascript</ex>
|
\ <ex>:javascript</ex>
|
||||||
\\ window.do(<str>some</str>);
|
\\ window.do(<str>some</str>);
|
||||||
\\ window.do(<str>stuff</str>);</code>
|
\\ window.do(<str>stuff</str>);</code>
|
||||||
|
|||||||
Reference in New Issue
Block a user