1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-11 05:05:51 +01:00

Fix some help formatting problems.

This commit is contained in:
Kris Maglione
2010-10-10 03:27:01 -04:00
parent c0729269dd
commit 5e5a112c0b
9 changed files with 37 additions and 35 deletions

View File

@@ -352,8 +352,8 @@
<xsl:template match="dactyl:dl" mode="help-2"> <xsl:template match="dactyl:dl" mode="help-2">
<dl> <dl>
<column/> <column style="{@dt}"/>
<column/> <column style="{@dd}"/>
<xsl:for-each select="dactyl:dt"> <xsl:for-each select="dactyl:dt">
<tr> <tr>
<xsl:apply-templates select="." mode="help-1"/> <xsl:apply-templates select="." mode="help-1"/>

View File

@@ -164,7 +164,7 @@
given in a single command line and will be executed consecutively. given in a single command line and will be executed consecutively.
<em>|</em> can be included as an argument to a command by escaping <em>|</em> can be included as an argument to a command by escaping
it with a backslash. E.g. it with a backslash. E.g.
<code><ex>:map \| :echo "bar"<k name="CR"/></ex></code> <code><ex>:map \|</ex> <ex>:echo <str>bar</str></ex><k name="CR"/></code>
Several commands process the entire command line string literally. Several commands process the entire command line string literally.
These commands will include any <em>|</em> as part of their These commands will include any <em>|</em> as part of their
@@ -239,7 +239,7 @@
optional quoting characters are available: optional quoting characters are available:
</p> </p>
<dl> <dl dt="width: 8em;">
<dt>\</dt> <dt>\</dt>
<dd> <dd>
This is the most basic quoting character. When it is encountered This is the most basic quoting character. When it is encountered
@@ -261,7 +261,7 @@
included by preceding it with a backslash. Any other occurrence of a included by preceding it with a backslash. Any other occurrence of a
backslash starts an escape sequence as in JavaScript strings. Among backslash starts an escape sequence as in JavaScript strings. Among
the available escape sequences are: the available escape sequences are:
<dl> <dl dt="width: 8em;">
<dt>\n</dt> <dd>A newline character.</dd> <dt>\n</dt> <dd>A newline character.</dd>
<dt>\t</dt> <dd>A tab character.</dd> <dt>\t</dt> <dd>A tab character.</dd>
<dt>\0nn</dt> <dd>Where each <em>n</em> is a digit between 0 and 7, represents an octal character code.</dd> <dt>\0nn</dt> <dd>Where each <em>n</em> is a digit between 0 and 7, represents an octal character code.</dd>

View File

@@ -48,7 +48,7 @@
common modes, common modes,
</p> </p>
<dl> <dl dt="width: 8em;">
<dt>n</dt> <dd>Normal mode: When browsing normally</dd> <dt>n</dt> <dd>Normal mode: When browsing normally</dd>
<dt>v</dt> <dd>Visual mode: When selecting text with the cursor keys</dd> <dt>v</dt> <dd>Visual mode: When selecting text with the cursor keys</dd>
<dt>i</dt> <dd>Insert mode: When interacting with text fields on a website</dd> <dt>i</dt> <dd>Insert mode: When interacting with text fields on a website</dd>
@@ -105,7 +105,7 @@
Any of the map commands may be given the following options: Any of the map commands may be given the following options:
</p> </p>
<dl> <dl dt="width: 12em;">
<dt></dt> <dd></dd> <dt></dt> <dd></dd>
<dt>-builtin</dt> <dd>Execute this mapping as if there were no user-defined mappings (short name <em>-b</em>)</dd> <dt>-builtin</dt> <dd>Execute this mapping as if there were no user-defined mappings (short name <em>-b</em>)</dd>
@@ -290,7 +290,7 @@
sequences are interpreted as described, sequences are interpreted as described,
</p> </p>
<dl> <dl dt="width: 10em;">
<dt><k>xc</k></dt> <dt><k>xc</k></dt>
<dd>Type the X key followed by the C key</dd> <dd>Type the X key followed by the C key</dd>

View File

@@ -45,7 +45,7 @@
<p>The following options are available,</p> <p>The following options are available,</p>
<dl> <dl dt="width: 8em;">
<dt>-keyword</dt> <dt>-keyword</dt>
<dd> <dd>
A keyword which may be used to open the bookmark via A keyword which may be used to open the bookmark via
@@ -124,7 +124,7 @@
<p>The bookmarks may also be filtered via the following options,</p> <p>The bookmarks may also be filtered via the following options,</p>
<dl> <dl dt="width: 8em;">
<dt>-keyword</dt> <dt>-keyword</dt>
<dd> <dd>
The bookmark's keyword (short name <em>-k</em>). The bookmark's keyword (short name <em>-k</em>).
@@ -273,7 +273,7 @@
<p>The pages may also be filtered via the following options,</p> <p>The pages may also be filtered via the following options,</p>
<dl> <dl dt="width: 8em;">
<dt>-max</dt> <dt>-max</dt>
<dd> <dd>
The maximum number of items to list or open The maximum number of items to list or open

View File

@@ -25,8 +25,8 @@
achieve special effects. These options come in 8 forms: achieve special effects. These options come in 8 forms:
</p> </p>
<dl> <dl dt="width: 10em;">
<dt>boolean</dt> <dd>Can only be on or off</dd> <dt>boolean</dt> <dd>Can only be <hl key="Boolean">on</hl> or <hl key="Boolean">off</hl></dd>
<dt>number</dt> <dd>A numeric value</dd> <dt>number</dt> <dd>A numeric value</dd>
<dt>string</dt> <dd>A string value</dd> <dt>string</dt> <dd>A string value</dd>
@@ -44,7 +44,7 @@
<dt/><dd tag="stringmap"/> <dt/><dd tag="stringmap"/>
<dt>stringmap</dt> <dt>stringmap</dt>
<dd>A comma-separated list of key-value pairs, e.g., <str>key:val,foo:bar</str></dd> <dd>A comma-separated list of key-value pairs, e.g., <str delim="">key:val,foo:bar</str></dd>
<dt/><dd tag="regexlist"/> <dt/><dd tag="regexlist"/>
<dt>regexlist</dt> <dt>regexlist</dt>
@@ -430,7 +430,7 @@
<description> <description>
<p>Items which are completed at the <ex>:open</ex> prompts. Available items:</p> <p>Items which are completed at the <ex>:open</ex> prompts. Available items:</p>
<dl> <dl dt="width: 6em;">
<dt>s</dt> <dd>Search engines and keyword URLs</dd> <dt>s</dt> <dd>Search engines and keyword URLs</dd>
<dt>f</dt> <dd>Local files</dd> <dt>f</dt> <dd>Local files</dd>
<dt>l</dt> <dd>&dactyl.host; location bar entries (bookmarks and history sorted in an intelligent way)</dd> <dt>l</dt> <dd>&dactyl.host; location bar entries (bookmarks and history sorted in an intelligent way)</dd>
@@ -598,7 +598,7 @@
<p>Possible values:</p> <p>Possible values:</p>
<dl> <dl dt="width: 6em;">
<dt>0</dt> <dd>Follow the first hint as soon as typed text uniquely identifies it.</dd> <dt>0</dt> <dd>Follow the first hint as soon as typed text uniquely identifies it.</dd>
<dt>1</dt> <dd>Follow the selected hint on <k name="Return"/>.</dd> <dt>1</dt> <dd>Follow the selected hint on <k name="Return"/>.</dd>
<dt>2</dt> <dd>Follow the selected hint on <k name="Return"/> only if it's been <k name="Tab" mode="c"/>-selected.</dd> <dt>2</dt> <dd>Follow the selected hint on <k name="Return"/> only if it's been <k name="Tab" mode="c"/>-selected.</dd>
@@ -630,7 +630,7 @@
<p>Supported characters:</p> <p>Supported characters:</p>
<dl> <dl dt="width: 6em;">
<dt>B</dt> <dd>Bookmark bar</dd> <dt>B</dt> <dd>Bookmark bar</dd>
<dt>C</dt> <dd>Always show the command-line outside of the status line</dd> <dt>C</dt> <dd>Always show the command-line outside of the status line</dd>
<dt>M</dt> <dd>Always show messages outside of the status line</dd> <dt>M</dt> <dd>Always show messages outside of the status line</dd>
@@ -676,7 +676,7 @@
given, and the first successful value is used. given, and the first successful value is used.
</p> </p>
<dl> <dl dt="width: 8em;">
<dt>value</dt> <dd>The hint is the value displayed in a text input, or the selected option for a drop-down.</dd> <dt>value</dt> <dd>The hint is the value displayed in a text input, or the selected option for a drop-down.</dd>
<dt>label</dt> <dd>The value of an explicit label for the input; this will not match most manually added labels that are found on sites.</dd> <dt>label</dt> <dd>The value of an explicit label for the input; this will not match most manually added labels that are found on sites.</dd>
<dt>name </dt> <dd>The name of the input will be used; although the name is not designed for user consumption, it is frequently very similar to the label.</dd> <dt>name </dt> <dd>The name of the input will be used; although the name is not designed for user consumption, it is frequently very similar to the label.</dd>
@@ -869,7 +869,7 @@
<p>Possible values:</p> <p>Possible values:</p>
<dl> <dl dt="width: 6em;">
<dt>0</dt> <dd>Never</dd> <dt>0</dt> <dd>Never</dd>
<dt>1</dt> <dd>Only if there are multiple windows</dd> <dt>1</dt> <dd>Only if there are multiple windows</dd>
<dt>2</dt> <dd>Always</dd> <dt>2</dt> <dd>Always</dd>
@@ -1045,7 +1045,7 @@
<p>Items available by default:</p> <p>Items available by default:</p>
<dl> <dl dt="width: 6em;">
<dt>g</dt> <dd>General info</dd> <dt>g</dt> <dd>General info</dd>
<dt>f</dt> <dd>Feeds</dd> <dt>f</dt> <dd>Feeds</dd>
<dt>m</dt> <dd>Meta tags</dd> <dt>m</dt> <dd>Meta tags</dd>
@@ -1073,7 +1073,7 @@
<p>Possible values are:</p> <p>Possible values are:</p>
<dl> <dl dt="width: 8em;">
<dt>tab</dt> <dd>Open pop-ups in a new tab</dd> <dt>tab</dt> <dd>Open pop-ups in a new tab</dd>
<dt>window</dt> <dd>Open pop-ups in a new window</dd> <dt>window</dt> <dd>Open pop-ups in a new window</dd>
<dt>resized</dt> <dd>Open resized pop-ups in a new window</dd> <dt>resized</dt> <dd>Open resized pop-ups in a new window</dd>
@@ -1185,7 +1185,7 @@
deleted. The value must be of the one of: deleted. The value must be of the one of:
</p> </p>
<dl> <dl dt="width: 8em;">
<dt>all</dt> <dd>Everything</dd> <dt>all</dt> <dd>Everything</dd>
<dt>session</dt> <dd>The current session</dd> <dt>session</dt> <dd>The current session</dd>
<dt><a>n</a>m</dt> <dd>Past <a>n</a> Minutes</dd> <dt><a>n</a>m</dt> <dd>Past <a>n</a> Minutes</dd>
@@ -1258,7 +1258,7 @@
<p>Possible values are:</p> <p>Possible values are:</p>
<dl> <dl dt="width: 6em;">
<dt>0</dt> <dd>Don't show link destination</dd> <dt>0</dt> <dd>Don't show link destination</dd>
<dt>1</dt> <dd>Show the link's destination in the <t>status-line</t></dd> <dt>1</dt> <dd>Show the link's destination in the <t>status-line</t></dd>
<dt>2</dt> <dd>Show the link's destination in the <t>command-line</t></dd> <dt>2</dt> <dd>Show the link's destination in the <t>command-line</t></dd>
@@ -1276,7 +1276,7 @@
<p>Possible values are:</p> <p>Possible values are:</p>
<dl> <dl dt="width: 6em;">
<dt>0</dt> <dd>Never show tab line</dd> <dt>0</dt> <dd>Never show tab line</dd>
<dt>1</dt> <dd>Show tab line only if more than one tab is open</dd> <dt>1</dt> <dd>Show tab line only if more than one tab is open</dd>
<dt>2</dt> <dd>Always show tab line</dd> <dt>2</dt> <dd>Always show tab line</dd>

View File

@@ -55,7 +55,7 @@
appear is the one that takes effect. appear is the one that takes effect.
</p> </p>
<dl> <dl dt="width: 6em;">
<dt>\c</dt> <dd>Perform case insensitive search (default if <o>ignorecase</o> is set).</dd> <dt>\c</dt> <dd>Perform case insensitive search (default if <o>ignorecase</o> is set).</dd>
<dt>\C</dt> <dd>Perform case sensitive search</dd> <dt>\C</dt> <dd>Perform case sensitive search</dd>
<dt>\l</dt> <dd>Search only in links, as defined by <o>hinttags</o>. (default if <o>linksearch</o> is set).</dd> <dt>\l</dt> <dd>Search only in links, as defined by <o>hinttags</o>. (default if <o>linksearch</o> is set).</dd>
@@ -66,7 +66,7 @@
Additionally, if the /Find Bar/ extension is installed, the Additionally, if the /Find Bar/ extension is installed, the
following flags may be used, following flags may be used,
</p> </p>
<dl> <dl dt="width: 6em;">
<dt>\r</dt> <dd>Process the entire pattern as a regular expression.</dd> <dt>\r</dt> <dd>Process the entire pattern as a regular expression.</dd>
<dt>\R</dt> <dd>Process the entire pattern as an ordinary string.</dd> <dt>\R</dt> <dd>Process the entire pattern as an ordinary string.</dd>
</dl> </dl>

View File

@@ -197,27 +197,30 @@
<item> <item>
<tags>:styleenable :stylee</tags> <tags>:styleenable :stylee</tags>
<tags>:styenable :stye</tags> <tags>:styenable :stye</tags>
<strut/>
<spec>:styled<oa>isable</oa> <oa>-name=<a>name</a></oa> <oa>-index=<a>index</a></oa> <oa>filter</oa> <oa>css</oa></spec> <spec>:styled<oa>isable</oa> <oa>-name=<a>name</a></oa> <oa>-index=<a>index</a></oa> <oa>filter</oa> <oa>css</oa></spec>
<description> <description>
<p>Enable any matching styles. Arguments are the same as for <ex>:delstyle</ex>.</p> <p>Enable any matching styles. Arguments are the same as for <ex>:delstyle</ex></p>
</description> </description>
</item> </item>
<item> <item>
<tags>:styledisable :styled</tags> <tags>:styledisable :styled</tags>
<tags>:stydisable :styd</tags> <tags>:stydisable :styd</tags>
<strut/>
<spec>:stylee<oa>nable</oa> <oa>-name=<a>name</a></oa> <oa>-index=<a>index</a></oa> <oa>filter</oa> <oa>css</oa></spec> <spec>:stylee<oa>nable</oa> <oa>-name=<a>name</a></oa> <oa>-index=<a>index</a></oa> <oa>filter</oa> <oa>css</oa></spec>
<description> <description>
<p>Disable any matching styles. Arguments are the same as for <ex>:delstyle</ex>.</p> <p>Disable any matching styles. Arguments are the same as for <ex>:delstyle</ex></p>
</description> </description>
</item> </item>
<item> <item>
<tags>:styletoggle :stylet</tags> <tags>:styletoggle :stylet</tags>
<tags>:stytoggle :styt</tags> <tags>:stytoggle :styt</tags>
<strut/>
<spec>:stylet<oa>oggle</oa> <oa>-name=<a>name</a></oa> <oa>-index=<a>index</a></oa> <oa>filter</oa> <oa>css</oa></spec> <spec>:stylet<oa>oggle</oa> <oa>-name=<a>name</a></oa> <oa>-index=<a>index</a></oa> <oa>filter</oa> <oa>css</oa></spec>
<description> <description>
<p>Toggle any matching styles. Arguments are the same as for <ex>:delstyle</ex>.</p> <p>Toggle any matching styles. Arguments are the same as for <ex>:delstyle</ex></p>
</description> </description>
</item> </item>

View File

@@ -40,7 +40,7 @@
<p>A buffer may be marked with one of the following indicators:</p> <p>A buffer may be marked with one of the following indicators:</p>
<dl> <dl dt="width: 6em;">
<dt><hl key="Indicator">%</hl></dt><dd>The current buffer</dd> <dt><hl key="Indicator">%</hl></dt><dd>The current buffer</dd>
<dt><hl key="Indicator">#</hl></dt><dd>The alternate buffer for <ex>:e #</ex> and <k name="C-^"/></dd> <dt><hl key="Indicator">#</hl></dt><dd>The alternate buffer for <ex>:e #</ex> and <k name="C-^"/></dd>
</dl> </dl>

View File

@@ -122,16 +122,15 @@
</p> </p>
<p tag="private-mode porn-mode"> <p tag="private-mode porn-mode">
<strut/>
&dactyl.appName; fully supports &dactyl.host;'s private browsing mode. &dactyl.appName; fully supports &dactyl.host;'s private browsing mode.
When in private browsing mode, no data other than Bookmarks and QuickMarks When in private browsing mode, no data other than Bookmarks and QuickMarks
are written to disk. Further, upon exiting private mode, all new data, are written to disk. Further, upon exiting private mode, all newly
including <t>command-line</t> history, local and URL marks, and macros, accumulated data, including <t>command-line</t> history, local and URL
are purged. For more information, see <o>private</o>. marks, and macros, are purged from memory. For more information, see
<o>private</o>.
</p> </p>
<p tag="sanitizing clearing-data"> <p tag="sanitizing clearing-data">
<strut/>
In addition to private mode, &dactyl.appName; provides a comprehensive In addition to private mode, &dactyl.appName; provides a comprehensive
facility for clearing any potentially sensitive data generated by either facility for clearing any potentially sensitive data generated by either
&dactyl.appName; or &dactyl.host;. It directly integrates with &dactyl.appName; or &dactyl.host;. It directly integrates with