VST


Ⅰ. 插件描述

Vim reStructured Text

Ⅱ. 基本信息

创建日期:  2006-07-01
使用用户:  18
Github星:  12
插件作者:  Mikolaj Machowski

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Requires Vim7.

VST is script which makes possible to export text files with simple markup to HTML or LaTeX format or S5 HTML presentation. Script doesn't require any external dependency and will work on any platform Vim7 is available. VST is implementation of reStructuredText.

Supported elements of inline markup:

  • emphasised text (italic)
  • strongly emphasised text (bold)
  • hyperlinks (in various syntax forms)
  • custom decorations (among them: sub, sup, big, small)

Elements of documents structure:

  • paragraphs
  • block quotes
  • ordered lists
  • unordered lists
  • option lists
  • footnotes
  • citations
  • images
  • preformatted text
  • colorized preformatted text (HTML export only)
  • tables
  • admonitions
  • table of contents

Also bunch of auxiliary commands which should ease writing of document and navigating (folding, text table of contents, lists or declared links, replacements)

Latest version of script:
http://skawina.eu.org/mikolaj/vst.zip

Help file in text form:
http://skawina.eu.org/mikolaj/vst.txt

Following versions of help file was produced without any modifications to HTML or LaTeX source:

HTML:
http://skawina.eu.org/mikolaj/vst.html

LaTeX file exported from vst.txt:
http://skawina.eu.org/mikolaj/vst.tex

PDF file produced from vst.tex:
http://skawina.eu.org/mikolaj/vst.pdf

添加新评论