BodySnatcher


Ⅰ. 插件描述

Generate CSS from HTML doc BODY attribs - updates Web docs quickly. Perl req'd.

Ⅱ. 基本信息

创建日期:  2004-10-27
使用用户:  1
Github星:  1
插件作者:  Sören Andersen

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/bodysnatcher'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/bodysnatcher'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/bodysnatcher'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/BodySnatcher

Ⅳ. 文档说明

if ! has('perl')
    move along, nothing to see here ;-)
endif

This plugin does a search of lines of a .html document and parses the statement of the <body> attributes. In modern times we prefer to use CSS to control presentational aspects of Web pages like text color, background, and link color.  When designing a site from scratch we'd plan that ahead of time. When updating a handful of pages that were not originally authored with CSS in mind, a script like this saves time by pulling out the expected HTML attributes and converting them to CSS declarations.

Update 13:07(TZ=EDT) - 28.Oct.2004 -
   My thanks to the dozen or so people who have downloaded version 1.3, and please update to
to version 1.4. Important bugs are fixed in this new release.

For more info and an md5 sum to check against, see this tool's home page at
http://intrepid.perlmonk.org/VIMtools/BSn/index.html

添加新评论