From 4550a3af77a031af1366c675759e54d49527f226 Mon Sep 17 00:00:00 2001 From: Andrei Gasparovici Date: Sat, 20 Oct 2018 07:21:52 +0300 Subject: [PATCH] Add :TOhtml to misc section --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 1d4c1e1..8670738 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,7 @@ - [Vim distributions](#vim-distributions) - [Standard plugins](#standard-plugins) - [Map CapsLock to Control](#map-capslock-to-control) +- [Generating HTML from buffer](#generating-html-from-buffer) - [Easter eggs](#easter-eggs) - [Why hjkl for navigation?](#why-hjkl-for-navigation) @@ -2583,6 +2584,21 @@ An alternative would be using [caps2esc](https://github.com/oblitum/caps2esc) or See [superuser.com: Map Caps-Lock to Control in Windows 8.1](http://superuser.com/questions/764782/map-caps-lock-to-control-in-windows-8-1). +## Generating HTML from buffer + +Generate HTML from any buffer using `:TOhtml` from the 2html [standard +plugin](#standard-plugins). The output can be used for printing or easy web +publishing. + +The command creates a new buffer of the same name with `.html` appended. The +colors are the same as seen in Vim. They depend on the +[colorscheme](#colorschemes). + +The plugin knows several options to finetune the output, e.g. for setting the +encoding and font. + +See `:h :TOhtml`. + ## Easter eggs | Command | Message |