vim-remarkjs


Ⅰ. 插件描述

Turn Markdown into self-contained html slideshows (using remark.js)

Ⅱ. 基本信息

创建日期:  2018-08-31
使用用户:  1
Github星:  15
插件作者:  David Briscoe

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# vim-remarkjs
Write slideshows in markdown and export as self-contained html pages.

This plugin provides a :RemarkPreview command to generate html.
The html imports remark.js which does all the hard work of displaying a slideshow featuring dual displays and presenter mode with notes.

If vim-gogo is installed, :RemarkPreview launches the html in your browser. Otherwise, the file path is on your clipboard.

vim-remarkjs also provides an ultisnips snippet slide to create a slide.

Slide Syntax

Remark.js uses slightly augmented markdown for each slide.
Separate slides with ---:

# Working with remarkjs

* Use normal markdown.
* End slides with ---

???
Presenter notes go here.

---

# This slide contains code
function add(a,b)
    return a:a + a:b
endf
Vim requires an a: prefix when using arguments.

---

添加新评论