Files
pandoc/test/vimdoc/definition-lists.vimdoc
reptee a0cfb3fd31 Vimdoc writer (#11132)
Support for vimdoc, documentation format used by vim in its help pages.
Relies heavily on definition lists and precise text alignment to generate tags.
2025-09-15 12:45:28 +02:00

72 lines
2.7 KiB
Plaintext

*definition-lists.txt* A short description
Title by Author
Type |gO| to see the table of contents.
Basic ........................................................... |pandoc-basic|
Code ............................................................. |pandoc-code|
Span ............................................................. |pandoc-span|
Commands ..................................................... |pandoc-commands|
------------------------------------------------------------------------------
Basic *pandoc-basic*
Term 1
Definition I
Term 2
Definition II
Term 3
Definition III
------------------------------------------------------------------------------
Code *pandoc-code*
`leap.opts.keys.next_target`
Jump to the next available target (use the previous search pattern if no
input has been given). |leap-repeat|
`leap.opts.keys.prev_target`
Jump to the previous target (revert `next_target`).
`leap.opts.keys.next_group`
Shift to the next group of labeled targets.
`leap.opts.keys.prev_group`
Shift to the previous group of labeled targets (revert `next_group`).
------------------------------------------------------------------------------
Span *pandoc-span*
Important concept *pandoc-important-concept*
Definition
*pandoc-i-am-too-long*
I am too long to fit on the same line as a reference, so reference is put
above me!
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
------------------------------------------------------------------------------
Commands *pandoc-commands*
In markdown vim commands are represented as inline code starting with colon
(ie. `:MyCommand`), but writer strips the backticks
:FnlCompileBuffer *:FnlCompileBuffer*
Compiles current active fennel buffer
:FnlCompile[!] *:FnlCompile*
Diff compiles all indexed fennel files If bang! is present then forcefully
compiles all `source` files
:[range]Fnl {expr} *:Fnl*
Evaluates {expr} or range
>
:'<,'>Fnl
:Fnl (print "Hello World")
:Fnl (values some_var)
<
vim:tw=78:sw=4:ts=4:ft=help:norl:et: