Of the available modes, html and man
are the most WYSIWYG in nature.
The online documentation clearly defines the subset of both
markup languages that elvis understands.
elvis uses
the html mode for displaying its online
help, which is written in HTML and has many
cross-referencing links within it.
The example below shows elvis editing one of the
HTML help files. The screen is split. Both windows show the
same buffer; the bottom window is using the html
display mode, while the top is using the normal
display mode:
<html><head>
<title>Elvis 2.0 Sessions</title>
</head><body>
<h1>10. SESSIONS, INITIALIZATION, AND RECOVERY</h1>
This section of the manual describes the life-cycle of an
edit session. We begin with the definition of an
<a href="#SESSION">edit session</a> and
what that means to elvis.
This is followed by sections discussing
<a href="#INIT">initialization</a>
and <a href="#RECOVER">recovery after a crash.</a>
_____________________________________________________________________
10.0 SESSIONS, INITIALIZATION, AND RECOVERY
This section of the manual describes the life-cycle of an
edit session. We begin with the definition of an edit
session and what that means to elvis. This is
followed by sections discussing initialization and
recovery after a crash.
10.1 Sessions
The man mode is also interesting, since
normally you have to format and print a man page to be sure you've
done a decent job of laying it out.
The following quote from the online help seems appropriate.
Troff source was never designed to be interactively edited, and although
I did the best I could, attempting to edit in man mode
is still a disorienting experience.
I suggest you get in the habit of using normal mode
when making changes, and
man mode to preview the effect of those changes.
The ^W d command makes switching between modes
a pretty easy thing to do.