It goes from this:
To this:Fruit | Price | Advantages Bananas | $1.34 | - built-in wrapper Oranges | $2.10 | - cures scurvy
Add this to your .vimrc file:+---------------+---------------+--------------------+ | Fruit | Price | Advantages | +===============+===============+====================+ | Bananas | $1.34 | - built-in wrapper | +---------------+---------------+--------------------+ | Oranges | $2.10 | - cures scurvy | +---------------+---------------+--------------------+
Now, make a visual selection and type :TablePandoc. It uses tabular.vim to align the pipe characters. Example:If you have additional tips for using Pandoc from Vim, please let me know in the comments.

No comments:
Post a Comment