From 48af3ce041decd77daf946754a056dfba2623601 Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Tue, 22 Jan 2008 23:10:01 +0000 Subject: [PATCH] added example to developer.txt --- locale/en-US/developer.txt | 19 +++++++++++++++++++ locale/en-US/xhtml11.css | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/locale/en-US/developer.txt b/locale/en-US/developer.txt index 5fc5aadf..1b8cc58f 100644 --- a/locale/en-US/developer.txt +++ b/locale/en-US/developer.txt @@ -21,6 +21,23 @@ help::help[various.html#:help]. If you need help for a specific topic, try [c]:help overview[c]. ____________________________________________________________________________ +is displayed as: + +++++++++++++++++++++++++++++++++++++++++ +

<F1> :help :h help + +

:h[elp] {subject}

+
<F1>

+
+
+

Open help window. +The default section is shown unless {subject} is specified. +If you need help for a specific topic, try :help overview.

+
++++++++++++++++++++++++++++++++++++++++ + Some notes about the code above: - *$$||$$* defines a _tag_. A tag is written at the right in magenta and let's @@ -34,6 +51,8 @@ Some notes about the code above: - The actual help code for this command is embedded in at least 4 underscores (_). This generates a quoteblock and indents the text so it is more clear that it belongs to the command. +- Wrap things in *$$[c]$$* and they are drawn like a :command. Also *$$[o]$$* + and *$$[m]$$* are available to show options and mappings. There are also some additional asciidoc commands specifically for writing vimperator documentation: diff --git a/locale/en-US/xhtml11.css b/locale/en-US/xhtml11.css index 7da3e5f7..3ed54f8c 100644 --- a/locale/en-US/xhtml11.css +++ b/locale/en-US/xhtml11.css @@ -280,7 +280,7 @@ div.table p.title } /* my additions */ -span.tag { +span.tag, span.hiddentag { font-weight: bold; color: rgb(255, 0, 255); /* magenta */ padding-left: 15px;