Update README
This commit is contained in:
parent
32d4479bac
commit
62f42b87db
24
README.md
24
README.md
@ -11,13 +11,13 @@ Collection = "ProjectsComplete"
|
|||||||
|
|
||||||
Writing technical documentation for Vim extensions is not exciting; manually converting what you've just written in
|
Writing technical documentation for Vim extensions is not exciting; manually converting what you've just written in
|
||||||
[Markdown](https://daringfireball.net/projects/markdown/) to
|
[Markdown](https://daringfireball.net/projects/markdown/) to
|
||||||
[vimdoc](http://vimdoc.sourceforge.net/htmldoc/usr_toc.html) format is even less fun. I grew tired of having to do this
|
[Vimdoc](http://vimdoc.sourceforge.net/htmldoc/usr_toc.html) format is even less fun. I grew tired of having to do this
|
||||||
repeatedly for my [Vim-ArgWrap](https://foosoft.net/projects/vim-argwrap/) extension and finally formally solved this
|
repeatedly for my [Vim-ArgWrap](https://foosoft.net/projects/vim-argwrap/) extension and finally formally solved this
|
||||||
problem with a purpose-built tool. Maintainability, ease of use, and beautiful vimdoc output were primary considerations
|
problem with a purpose-built tool. Maintainability, ease of use, and beautiful Vimdoc output were primary considerations
|
||||||
in Md2Vim's design.
|
in Md2Vim's design.
|
||||||
|
|
||||||
[![Markdown source file](img/markdown-thumb.png)](img/markdown.png)
|
[![Markdown source file](img/markdown-thumb.png)](img/markdown.png)
|
||||||
[![VimDoc target file](img/vimdoc-thumb.png)](img/vimdoc.png)
|
[![Vimdoc target file](img/vimdoc-thumb.png)](img/vimdoc.png)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@ -34,13 +34,13 @@ Otherwise, you can use the [pre-built binaries](https://github.com/FooSoft/md2vi
|
|||||||
Executing Md2Vim with the `-help` command line argument will trigger online help to be displayed. The list below
|
Executing Md2Vim with the `-help` command line argument will trigger online help to be displayed. The list below
|
||||||
provides a more detailed description of what the parameters do.
|
provides a more detailed description of what the parameters do.
|
||||||
|
|
||||||
* **cols**
|
* `cols`
|
||||||
|
|
||||||
The number of columns used for laying out vimdoc files to make them look as good as possible with your content.
|
The number of columns used for laying out Vimdoc files to make them look as good as possible with your content.
|
||||||
Notice that file contents will not be wrapped to this value; this is purely for such things as horizontal rule
|
Notice that file contents will not be wrapped to this value; this is purely for such things as horizontal rule
|
||||||
widths and help tag positioning. This defaults to 80, but that's a bit too narrow for some people.
|
widths and help tag positioning. This defaults to 80, but that's a bit too narrow for some people.
|
||||||
|
|
||||||
* **desc**
|
* `desc`
|
||||||
|
|
||||||
Vim help files are supposed to start with the following two fields on the first line:
|
Vim help files are supposed to start with the following two fields on the first line:
|
||||||
|
|
||||||
@ -48,12 +48,12 @@ provides a more detailed description of what the parameters do.
|
|||||||
filename.txt Description of this help file's contents
|
filename.txt Description of this help file's contents
|
||||||
```
|
```
|
||||||
|
|
||||||
The first field is the filename of the generated vimdoc help file; the second is the description can you provide
|
The first field is the filename of the generated Vimdoc help file; the second is the description can you provide
|
||||||
with this parameter.
|
with this parameter.
|
||||||
|
|
||||||
Multi line description can be written using `\n`.
|
Multi line description can be written using `\n`.
|
||||||
|
|
||||||
* **norules**
|
* `norules`
|
||||||
|
|
||||||
By default, we generate horizontal rules above level 1-2 headings, as shown below:
|
By default, we generate horizontal rules above level 1-2 headings, as shown below:
|
||||||
|
|
||||||
@ -65,12 +65,12 @@ provides a more detailed description of what the parameters do.
|
|||||||
```
|
```
|
||||||
If you don't like the way it looks you can turn it off.
|
If you don't like the way it looks you can turn it off.
|
||||||
|
|
||||||
* **notoc**
|
* `notoc`
|
||||||
|
|
||||||
If you don't wish to generate a table of contents you should set this flag to opt out. The table of contents lists
|
If you don't wish to generate a table of contents you should set this flag to opt out. The table of contents lists
|
||||||
all of the headings in the document and is always inserted before the beginning of document body.
|
all of the headings in the document and is always inserted before the beginning of document body.
|
||||||
|
|
||||||
* **pascal**
|
* `pascal`
|
||||||
|
|
||||||
By default, all help tags get converted to lower case and space delimited words are joined with underscores.
|
By default, all help tags get converted to lower case and space delimited words are joined with underscores.
|
||||||
|
|
||||||
@ -78,12 +78,12 @@ provides a more detailed description of what the parameters do.
|
|||||||
rigellians-how_to_cook_for_fourty_humans
|
rigellians-how_to_cook_for_fourty_humans
|
||||||
```
|
```
|
||||||
|
|
||||||
If you prefer the *PascalCase* way of doing things, set this flag and your output will look like this:
|
If you prefer the PascalCase way of doing things, set this flag and your output will look like this:
|
||||||
|
|
||||||
```
|
```
|
||||||
Rigellians-HowToCookForFourtyHumans
|
Rigellians-HowToCookForFourtyHumans
|
||||||
```
|
```
|
||||||
|
|
||||||
* **tabs**
|
* `tabs`
|
||||||
|
|
||||||
If you don't like four space tabs for some reason you can change it to something else with this parameter.
|
If you don't like four space tabs for some reason you can change it to something else with this parameter.
|
||||||
|
Loading…
Reference in New Issue
Block a user