tpanzarella (harley) on Tue, 10 Apr 2001 13:40:20 -0400 |
Rupert Heesom wrote: BTW, do I assume correctly that when using vi or emacs, that the editor would not generate HTML from raw text as StarWriter does, but would need one to put the raw HTML text into the editor? Yes. But Emacs has this thing called html-helper-mode. Where you still have to actually write your HTML markup from scratch but there are some keystroke macros defined to kinda speed up the process. (There is also an "HTML" menu that you can access with the mouse if running under X or the F10 when not running X which performs a subset of the keystroke macros that are available to you). For instance if you wanted to add an "anchor" tag, you can just type: C-c C-a l and what would appear in the buffer is: <a href=""></a> html-helper-mode also lets you define an "html skeleton" where as soon as you fire up Emacs on a file that ends in .html (if you are creating a new file) your defined template text shows up. For example, you can have Emacs automatically display something like: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <title></title> <style></style> </head> <body> </body> </html> Your template thing can be as elaborate as you wish, this is just a trival example -- but I think you get the point. It's probably not what your looking for, but, if you happen to decide to use Emacs to do your HTML stuff, definitely check out html-helper-mode. --t.
|
|